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