tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DecimalSignedRoundingMode.d.ts (1016B)


      1 // generated by diplomat-tool
      2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
      3 
      4 
      5 /**
      6 * Mode used in a rounding operation for signed numbers.
      7 *
      8 * See the [Rust documentation for `SignedRoundingMode`](https://docs.rs/fixed_decimal/latest/fixed_decimal/enum.SignedRoundingMode.html) for more information.
      9 */
     10 
     11 
     12 export class DecimalSignedRoundingMode {
     13 
     14    static fromValue(value: DecimalSignedRoundingMode | string): DecimalSignedRoundingMode;
     15 
     16    get value(): string;
     17 
     18    get ffiValue(): number;
     19 
     20    static Expand : DecimalSignedRoundingMode;
     21    static Trunc : DecimalSignedRoundingMode;
     22    static HalfExpand : DecimalSignedRoundingMode;
     23    static HalfTrunc : DecimalSignedRoundingMode;
     24    static HalfEven : DecimalSignedRoundingMode;
     25    static Ceil : DecimalSignedRoundingMode;
     26    static Floor : DecimalSignedRoundingMode;
     27    static HalfCeil : DecimalSignedRoundingMode;
     28    static HalfFloor : DecimalSignedRoundingMode;
     29 
     30 
     31    constructor(value: DecimalSignedRoundingMode | string );
     32 }