Source code
Revision control
Copy as Markdown
Other Tools
// generated by diplomat-tool
import type { LeadingAdjustment } from "./LeadingAdjustment"
import type { TrailingCase } from "./TrailingCase"
import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/**
* See the [Rust documentation for `TitlecaseOptions`](https://docs.rs/icu/latest/icu/casemap/options/struct.TitlecaseOptions.html) for more information.
*/
type TitlecaseOptions_obj = {
leadingAdjustment?: LeadingAdjustment | null;
trailingCase?: TrailingCase | null;
};
export class TitlecaseOptions {
get leadingAdjustment(): LeadingAdjustment | null;
set leadingAdjustment(value: LeadingAdjustment | null);
get trailingCase(): TrailingCase | null;
set trailingCase(value: TrailingCase | null);
/** Create `TitlecaseOptions` from an object that contains all of `TitlecaseOptions`s fields.
* Optional fields do not need to be included in the provided object.
*/
static fromFields(structObj : TitlecaseOptions_obj) : TitlecaseOptions;
constructor();
}