// generated by diplomat-tool import type { DataError } from "./DataError" import type { DataProvider } from "./DataProvider" import type { Locale } from "./Locale" import type { TitlecaseOptions } from "./TitlecaseOptions" import type { TitlecaseOptions_obj } from "./TitlecaseOptions" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *Seethe[Rustdocumentationfor`TitlecaseMapper`](https://docs.rs/icu/2.1.1/icu/casemap/struct.TitlecaseMapper.html) for more information.
*/
export class TitlecaseMapper { /** @internal */
get ffiValue(): pointer;
/** *Constructanew`TitlecaseMapper`instanceusingaparticulardatasource. * *Seethe[Rustdocumentationfor`new`](https://docs.rs/icu/2.1.1/icu/casemap/struct.TitlecaseMapper.html#method.new) for more information.
*/ static createWithProvider(provider: DataProvider): TitlecaseMapper;
/** *Returnsthefulltitlecasemappingofthegivenstring * *The`v1`referstotheversionoftheoptionsstruct,whichmaychangeasweaddmoreoptions * *Seethe[Rustdocumentationfor`titlecase_segment`](https://docs.rs/icu/2.1.1/icu/casemap/struct.TitlecaseMapperBorrowed.html#method.titlecase_segment) for more information.
*/
titlecaseSegment(s: string, locale: Locale, options: TitlecaseOptions_obj): string;
/** *Returnsthefulltitlecasemappingofthegivenstring,usingcompileddata(avoidshavingtoallocateaTitlecaseMapperobject) * *The`v1`referstotheversionoftheoptionsstruct,whichmaychangeasweaddmoreoptions * *Seethe[Rustdocumentationfor`titlecase_segment`](https://docs.rs/icu/2.1.1/icu/casemap/struct.TitlecaseMapperBorrowed.html#method.titlecase_segment) for more information.
*/ static titlecaseSegmentWithCompiledData(s: string, locale: Locale, options: TitlecaseOptions_obj): string;
/** *Constructanew`TitlecaseMapper`instanceusingcompileddata. * *Seethe[Rustdocumentationfor`new`](https://docs.rs/icu/2.1.1/icu/casemap/struct.TitlecaseMapper.html#method.new) for more information.
*/
constructor();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.