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