• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
3
4
5/** ECMA-402 compatible sign display preference.
6*
7*See the [Rust documentation for `SignDisplay`](https://docs.rs/fixed_decimal/latest/fixed_decimal/enum.SignDisplay.html) for more information.
8*/
9
10
11export class FixedDecimalSignDisplay {
12
13
14    static fromValue(value : FixedDecimalSignDisplay | string) : FixedDecimalSignDisplay;
15
16    get value() : string;
17
18    get ffiValue() : number;
19
20    static Auto : FixedDecimalSignDisplay;
21    static Never : FixedDecimalSignDisplay;
22    static Always : FixedDecimalSignDisplay;
23    static ExceptZero : FixedDecimalSignDisplay;
24    static Negative : FixedDecimalSignDisplay;
25
26    constructor(value: FixedDecimalSignDisplay | string );
27}