DecimalSign.d.ts (593B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 /** 6 * The sign of a Decimal, as shown in formatting. 7 * 8 * See the [Rust documentation for `Sign`](https://docs.rs/fixed_decimal/latest/fixed_decimal/enum.Sign.html) for more information. 9 */ 10 11 12 export class DecimalSign { 13 14 static fromValue(value: DecimalSign | string): DecimalSign; 15 16 get value(): string; 17 18 get ffiValue(): number; 19 20 static None : DecimalSign; 21 static Negative : DecimalSign; 22 static Positive : DecimalSign; 23 24 25 constructor(value: DecimalSign | string ); 26 }