tor-browser

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

TitlecaseOptions.d.ts (1018B)


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