tor-browser

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

LineBreakOptions.d.ts (1069B)


      1 // generated by diplomat-tool
      2 import type { LineBreakStrictness } from "./LineBreakStrictness"
      3 import type { LineBreakWordOption } from "./LineBreakWordOption"
      4 import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
      5 
      6 
      7 /**
      8 * See the [Rust documentation for `LineBreakOptions`](https://docs.rs/icu/latest/icu/segmenter/options/struct.LineBreakOptions.html) for more information.
      9 */
     10 type LineBreakOptions_obj = {
     11    strictness?: LineBreakStrictness | null;
     12    wordOption?: LineBreakWordOption | null;
     13 };
     14 
     15 
     16 
     17 export class LineBreakOptions {
     18    get strictness(): LineBreakStrictness | null;
     19    set strictness(value: LineBreakStrictness | null);
     20    get wordOption(): LineBreakWordOption | null;
     21    set wordOption(value: LineBreakWordOption | null);
     22    /** Create `LineBreakOptions` from an object that contains all of `LineBreakOptions`s fields.
     23    * Optional fields do not need to be included in the provided object.
     24    */
     25    static fromFields(structObj : LineBreakOptions_obj) : LineBreakOptions;
     26 
     27 
     28 
     29    constructor(structObj: LineBreakOptions_obj);
     30 }