diff --git a/ffi/capi/bindings/dart/CodePointMapData16.g.dart b/ffi/capi/bindings/dart/CodePointMapData16.g.dart index 228886451bf..28d585ee4b8 100644 --- a/ffi/capi/bindings/dart/CodePointMapData16.g.dart +++ b/ffi/capi/bindings/dart/CodePointMapData16.g.dart @@ -66,12 +66,16 @@ final class CodePointMapData16 implements ffi.Finalizable { return CodePointSetData._fromFfi(result, []); } + /// Create a map for the `Script` property, using compiled data. + /// /// See the [Rust documentation for `Script`](https://docs.rs/icu/latest/icu/properties/props/struct.Script.html) for more information. factory CodePointMapData16.script() { final result = _icu4x_CodePointMapData16_create_script_mv1(); return CodePointMapData16._fromFfi(result, []); } + /// Create a map for the `Script` property, using a particular data source. + /// /// See the [Rust documentation for `Script`](https://docs.rs/icu/latest/icu/properties/props/struct.Script.html) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/CodePointMapData8.g.dart b/ffi/capi/bindings/dart/CodePointMapData8.g.dart index 0d5919daada..4041f51a7b9 100644 --- a/ffi/capi/bindings/dart/CodePointMapData8.g.dart +++ b/ffi/capi/bindings/dart/CodePointMapData8.g.dart @@ -93,12 +93,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointSetData._fromFfi(result, []); } + /// Create a map for the `General_Category` property, using compiled data. + /// /// See the [Rust documentation for `GeneralCategory`](https://docs.rs/icu/latest/icu/properties/props/enum.GeneralCategory.html) for more information. factory CodePointMapData8.generalCategory() { final result = _icu4x_CodePointMapData8_create_general_category_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `General_Category` property, using a particular data source + /// /// See the [Rust documentation for `GeneralCategory`](https://docs.rs/icu/latest/icu/properties/props/enum.GeneralCategory.html) for more information. /// /// Throws [DataError] on failure. @@ -110,12 +114,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Bidi_Class` property, using compiled data. + /// /// See the [Rust documentation for `BidiClass`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiClass.html) for more information. factory CodePointMapData8.bidiClass() { final result = _icu4x_CodePointMapData8_create_bidi_class_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Bidi_Class` property, using a particular data source. + /// /// See the [Rust documentation for `BidiClass`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiClass.html) for more information. /// /// Throws [DataError] on failure. @@ -127,12 +135,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `East_Asian_Width` property, using compiled data. + /// /// See the [Rust documentation for `EastAsianWidth`](https://docs.rs/icu/latest/icu/properties/props/struct.EastAsianWidth.html) for more information. factory CodePointMapData8.eastAsianWidth() { final result = _icu4x_CodePointMapData8_create_east_asian_width_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `East_Asian_Width` property, using a particular data source. + /// /// See the [Rust documentation for `EastAsianWidth`](https://docs.rs/icu/latest/icu/properties/props/struct.EastAsianWidth.html) for more information. /// /// Throws [DataError] on failure. @@ -144,12 +156,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Hangul_Syllable_Type` property, using compiled data. + /// /// See the [Rust documentation for `HangulSyllableType`](https://docs.rs/icu/latest/icu/properties/props/struct.HangulSyllableType.html) for more information. factory CodePointMapData8.hangulSyllableType() { final result = _icu4x_CodePointMapData8_create_hangul_syllable_type_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Hangul_Syllable_Type` property, using a particular data source. + /// /// See the [Rust documentation for `HangulSyllableType`](https://docs.rs/icu/latest/icu/properties/props/struct.HangulSyllableType.html) for more information. /// /// Throws [DataError] on failure. @@ -161,12 +177,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Indic_Syllabic_Property` property, using compiled data. + /// /// See the [Rust documentation for `IndicSyllabicCategory`](https://docs.rs/icu/latest/icu/properties/props/struct.IndicSyllabicCategory.html) for more information. factory CodePointMapData8.indicSyllabicCategory() { final result = _icu4x_CodePointMapData8_create_indic_syllabic_category_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Indic_Syllabic_Property` property, using a particular data source. + /// /// See the [Rust documentation for `IndicSyllabicCategory`](https://docs.rs/icu/latest/icu/properties/props/struct.IndicSyllabicCategory.html) for more information. /// /// Throws [DataError] on failure. @@ -178,12 +198,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Line_Break` property, using compiled data. + /// /// See the [Rust documentation for `LineBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.LineBreak.html) for more information. factory CodePointMapData8.lineBreak() { final result = _icu4x_CodePointMapData8_create_line_break_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Line_Break` property, using a particular data source. + /// /// See the [Rust documentation for `LineBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.LineBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -195,12 +219,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Grapheme_Cluster_Break` property, using compiled data. + /// /// See the [Rust documentation for `GraphemeClusterBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeClusterBreak.html) for more information. factory CodePointMapData8.graphemeClusterBreak() { final result = _icu4x_CodePointMapData8_create_grapheme_cluster_break_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Grapheme_Cluster_Break` property, using a particular data source. + /// /// See the [Rust documentation for `GraphemeClusterBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeClusterBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -212,12 +240,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Word_Break` property, using compiled data. + /// /// See the [Rust documentation for `WordBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.WordBreak.html) for more information. factory CodePointMapData8.wordBreak() { final result = _icu4x_CodePointMapData8_create_word_break_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Word_Break` property, using a particular data source. + /// /// See the [Rust documentation for `WordBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.WordBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -229,12 +261,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Sentence_Break` property, using compiled data. + /// /// See the [Rust documentation for `SentenceBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.SentenceBreak.html) for more information. factory CodePointMapData8.sentenceBreak() { final result = _icu4x_CodePointMapData8_create_sentence_break_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Sentence_Break` property, using a particular data source. + /// /// See the [Rust documentation for `SentenceBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.SentenceBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -246,12 +282,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Joining_Type` property, using compiled data. + /// /// See the [Rust documentation for `JoiningType`](https://docs.rs/icu/latest/icu/properties/props/struct.JoiningType.html) for more information. factory CodePointMapData8.joiningType() { final result = _icu4x_CodePointMapData8_create_joining_type_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Joining_Type` property, using a particular data source. + /// /// See the [Rust documentation for `JoiningType`](https://docs.rs/icu/latest/icu/properties/props/struct.JoiningType.html) for more information. /// /// Throws [DataError] on failure. @@ -263,12 +303,16 @@ final class CodePointMapData8 implements ffi.Finalizable { return CodePointMapData8._fromFfi(result.union.ok, []); } + /// Create a map for the `Canonical_Combining_Class` property, using compiled data. + /// /// See the [Rust documentation for `CanonicalCombiningClass`](https://docs.rs/icu/latest/icu/properties/props/struct.CanonicalCombiningClass.html) for more information. factory CodePointMapData8.canonicalCombiningClass() { final result = _icu4x_CodePointMapData8_create_canonical_combining_class_mv1(); return CodePointMapData8._fromFfi(result, []); } + /// Create a map for the `Canonical_Combining_Class` property, using a particular data source. + /// /// See the [Rust documentation for `CanonicalCombiningClass`](https://docs.rs/icu/latest/icu/properties/props/struct.CanonicalCombiningClass.html) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/CodePointSetData.g.dart b/ffi/capi/bindings/dart/CodePointSetData.g.dart index 46ee33dcbe7..c9de2b3bc88 100644 --- a/ffi/capi/bindings/dart/CodePointSetData.g.dart +++ b/ffi/capi/bindings/dart/CodePointSetData.g.dart @@ -83,12 +83,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Ascii_Hex_Digit` property, using compiled data. + /// /// See the [Rust documentation for `AsciiHexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.AsciiHexDigit.html) for more information. factory CodePointSetData.asciiHexDigit() { final result = _icu4x_CodePointSetData_create_ascii_hex_digit_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Ascii_Hex_Digit` property, using a particular data source. + /// /// See the [Rust documentation for `AsciiHexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.AsciiHexDigit.html) for more information. /// /// Throws [DataError] on failure. @@ -100,12 +104,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Alnum` property, using compiled data. + /// /// See the [Rust documentation for `Alnum`](https://docs.rs/icu/latest/icu/properties/props/struct.Alnum.html) for more information. factory CodePointSetData.alnum() { final result = _icu4x_CodePointSetData_create_alnum_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Alnum` property, using a particular data source. + /// /// See the [Rust documentation for `Alnum`](https://docs.rs/icu/latest/icu/properties/props/struct.Alnum.html) for more information. /// /// Throws [DataError] on failure. @@ -117,12 +125,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Alphabetic` property, using compiled data. + /// /// See the [Rust documentation for `Alphabetic`](https://docs.rs/icu/latest/icu/properties/props/struct.Alphabetic.html) for more information. factory CodePointSetData.alphabetic() { final result = _icu4x_CodePointSetData_create_alphabetic_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Alphabetic` property, using a particular data source. + /// /// See the [Rust documentation for `Alphabetic`](https://docs.rs/icu/latest/icu/properties/props/struct.Alphabetic.html) for more information. /// /// Throws [DataError] on failure. @@ -134,12 +146,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Bidi_Control` property, using compiled data. + /// /// See the [Rust documentation for `BidiControl`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiControl.html) for more information. factory CodePointSetData.bidiControl() { final result = _icu4x_CodePointSetData_create_bidi_control_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Bidi_Control` property, using a particular data source. + /// /// See the [Rust documentation for `BidiControl`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiControl.html) for more information. /// /// Throws [DataError] on failure. @@ -151,12 +167,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Bidi_Mirrored` property, using compiled data. + /// /// See the [Rust documentation for `BidiMirrored`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiMirrored.html) for more information. factory CodePointSetData.bidiMirrored() { final result = _icu4x_CodePointSetData_create_bidi_mirrored_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Bidi_Mirrored` property, using a particular data source. + /// /// See the [Rust documentation for `BidiMirrored`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiMirrored.html) for more information. /// /// Throws [DataError] on failure. @@ -168,12 +188,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Blank` property, using compiled data. + /// /// See the [Rust documentation for `Blank`](https://docs.rs/icu/latest/icu/properties/props/struct.Blank.html) for more information. factory CodePointSetData.blank() { final result = _icu4x_CodePointSetData_create_blank_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Blank` property, using a particular data source. + /// /// See the [Rust documentation for `Blank`](https://docs.rs/icu/latest/icu/properties/props/struct.Blank.html) for more information. /// /// Throws [DataError] on failure. @@ -185,12 +209,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Cased` property, using compiled data. + /// /// See the [Rust documentation for `Cased`](https://docs.rs/icu/latest/icu/properties/props/struct.Cased.html) for more information. factory CodePointSetData.cased() { final result = _icu4x_CodePointSetData_create_cased_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Cased` property, using a particular data source. + /// /// See the [Rust documentation for `Cased`](https://docs.rs/icu/latest/icu/properties/props/struct.Cased.html) for more information. /// /// Throws [DataError] on failure. @@ -202,12 +230,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Case_Ignorable` property, using compiled data. + /// /// See the [Rust documentation for `CaseIgnorable`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseIgnorable.html) for more information. factory CodePointSetData.caseIgnorable() { final result = _icu4x_CodePointSetData_create_case_ignorable_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Case_Ignorable` property, using a particular data source. + /// /// See the [Rust documentation for `CaseIgnorable`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseIgnorable.html) for more information. /// /// Throws [DataError] on failure. @@ -219,12 +251,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Full_Composition_Exclusion` property, using compiled data. + /// /// See the [Rust documentation for `FullCompositionExclusion`](https://docs.rs/icu/latest/icu/properties/props/struct.FullCompositionExclusion.html) for more information. factory CodePointSetData.fullCompositionExclusion() { final result = _icu4x_CodePointSetData_create_full_composition_exclusion_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Full_Composition_Exclusion` property, using a particular data source. + /// /// See the [Rust documentation for `FullCompositionExclusion`](https://docs.rs/icu/latest/icu/properties/props/struct.FullCompositionExclusion.html) for more information. /// /// Throws [DataError] on failure. @@ -236,12 +272,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Changes_When_Casefolded` property, using compiled data. + /// /// See the [Rust documentation for `ChangesWhenCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasefolded.html) for more information. factory CodePointSetData.changesWhenCasefolded() { final result = _icu4x_CodePointSetData_create_changes_when_casefolded_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Changes_When_Casefolded` property, using a particular data source. + /// /// See the [Rust documentation for `ChangesWhenCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasefolded.html) for more information. /// /// Throws [DataError] on failure. @@ -253,12 +293,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Changes_When_Casemapped` property, using compiled data. + /// /// See the [Rust documentation for `ChangesWhenCasemapped`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasemapped.html) for more information. factory CodePointSetData.changesWhenCasemapped() { final result = _icu4x_CodePointSetData_create_changes_when_casemapped_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Changes_When_Casemapped` property, using a particular data source. + /// /// See the [Rust documentation for `ChangesWhenCasemapped`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenCasemapped.html) for more information. /// /// Throws [DataError] on failure. @@ -270,12 +314,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Changes_When_Nfkc_Casefolded` property, using compiled data. + /// /// See the [Rust documentation for `ChangesWhenNfkcCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenNfkcCasefolded.html) for more information. factory CodePointSetData.changesWhenNfkcCasefolded() { final result = _icu4x_CodePointSetData_create_changes_when_nfkc_casefolded_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Changes_When_Nfkc_Casefolded` property, using a particular data source. + /// /// See the [Rust documentation for `ChangesWhenNfkcCasefolded`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenNfkcCasefolded.html) for more information. /// /// Throws [DataError] on failure. @@ -287,12 +335,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Changes_When_Lowercased` property, using compiled data. + /// /// See the [Rust documentation for `ChangesWhenLowercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenLowercased.html) for more information. factory CodePointSetData.changesWhenLowercased() { final result = _icu4x_CodePointSetData_create_changes_when_lowercased_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Changes_When_Lowercased` property, using a particular data source. + /// /// See the [Rust documentation for `ChangesWhenLowercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenLowercased.html) for more information. /// /// Throws [DataError] on failure. @@ -304,12 +356,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Changes_When_Titlecased` property, using compiled data. + /// /// See the [Rust documentation for `ChangesWhenTitlecased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenTitlecased.html) for more information. factory CodePointSetData.changesWhenTitlecased() { final result = _icu4x_CodePointSetData_create_changes_when_titlecased_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Changes_When_Titlecased` property, using a particular data source. + /// /// See the [Rust documentation for `ChangesWhenTitlecased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenTitlecased.html) for more information. /// /// Throws [DataError] on failure. @@ -321,12 +377,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Changes_When_Uppercased` property, using compiled data. + /// /// See the [Rust documentation for `ChangesWhenUppercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenUppercased.html) for more information. factory CodePointSetData.changesWhenUppercased() { final result = _icu4x_CodePointSetData_create_changes_when_uppercased_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Changes_When_Uppercased` property, using a particular data source. + /// /// See the [Rust documentation for `ChangesWhenUppercased`](https://docs.rs/icu/latest/icu/properties/props/struct.ChangesWhenUppercased.html) for more information. /// /// Throws [DataError] on failure. @@ -338,12 +398,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Dash` property, using compiled data. + /// /// See the [Rust documentation for `Dash`](https://docs.rs/icu/latest/icu/properties/props/struct.Dash.html) for more information. factory CodePointSetData.dash() { final result = _icu4x_CodePointSetData_create_dash_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Dash` property, using a particular data source. + /// /// See the [Rust documentation for `Dash`](https://docs.rs/icu/latest/icu/properties/props/struct.Dash.html) for more information. /// /// Throws [DataError] on failure. @@ -355,12 +419,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Deprecated` property, using compiled data. + /// /// See the [Rust documentation for `Deprecated`](https://docs.rs/icu/latest/icu/properties/props/struct.Deprecated.html) for more information. factory CodePointSetData.deprecated() { final result = _icu4x_CodePointSetData_create_deprecated_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Deprecated` property, using a particular data source. + /// /// See the [Rust documentation for `Deprecated`](https://docs.rs/icu/latest/icu/properties/props/struct.Deprecated.html) for more information. /// /// Throws [DataError] on failure. @@ -372,12 +440,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Default_Ignorable_Code_Point` property, using compiled data. + /// /// See the [Rust documentation for `DefaultIgnorableCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.DefaultIgnorableCodePoint.html) for more information. factory CodePointSetData.defaultIgnorableCodePoint() { final result = _icu4x_CodePointSetData_create_default_ignorable_code_point_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Default_Ignorable_Code_Point` property, using a particular data source. + /// /// See the [Rust documentation for `DefaultIgnorableCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.DefaultIgnorableCodePoint.html) for more information. /// /// Throws [DataError] on failure. @@ -389,12 +461,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Diacritic` property, using compiled data. + /// /// See the [Rust documentation for `Diacritic`](https://docs.rs/icu/latest/icu/properties/props/struct.Diacritic.html) for more information. factory CodePointSetData.diacritic() { final result = _icu4x_CodePointSetData_create_diacritic_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Diacritic` property, using a particular data source. + /// /// See the [Rust documentation for `Diacritic`](https://docs.rs/icu/latest/icu/properties/props/struct.Diacritic.html) for more information. /// /// Throws [DataError] on failure. @@ -406,12 +482,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Emoji_Modifier_Base` property, using compiled data. + /// /// See the [Rust documentation for `EmojiModifierBase`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifierBase.html) for more information. factory CodePointSetData.emojiModifierBase() { final result = _icu4x_CodePointSetData_create_emoji_modifier_base_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Emoji_Modifier_Base` property, using a particular data source. + /// /// See the [Rust documentation for `EmojiModifierBase`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifierBase.html) for more information. /// /// Throws [DataError] on failure. @@ -423,12 +503,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Emoji_Component` property, using compiled data. + /// /// See the [Rust documentation for `EmojiComponent`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiComponent.html) for more information. factory CodePointSetData.emojiComponent() { final result = _icu4x_CodePointSetData_create_emoji_component_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Emoji_Component` property, using a particular data source. + /// /// See the [Rust documentation for `EmojiComponent`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiComponent.html) for more information. /// /// Throws [DataError] on failure. @@ -440,12 +524,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Emoji_Modifier` property, using compiled data. + /// /// See the [Rust documentation for `EmojiModifier`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifier.html) for more information. factory CodePointSetData.emojiModifier() { final result = _icu4x_CodePointSetData_create_emoji_modifier_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Emoji_Modifier` property, using a particular data source. + /// /// See the [Rust documentation for `EmojiModifier`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiModifier.html) for more information. /// /// Throws [DataError] on failure. @@ -457,12 +545,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Emoji` property, using compiled data. + /// /// See the [Rust documentation for `Emoji`](https://docs.rs/icu/latest/icu/properties/props/struct.Emoji.html) for more information. factory CodePointSetData.emoji() { final result = _icu4x_CodePointSetData_create_emoji_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Emoji` property, using a particular data source. + /// /// See the [Rust documentation for `Emoji`](https://docs.rs/icu/latest/icu/properties/props/struct.Emoji.html) for more information. /// /// Throws [DataError] on failure. @@ -474,12 +566,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Emoji_Presentation` property, using compiled data. + /// /// See the [Rust documentation for `EmojiPresentation`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiPresentation.html) for more information. factory CodePointSetData.emojiPresentation() { final result = _icu4x_CodePointSetData_create_emoji_presentation_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Emoji_Presentation` property, using a particular data source. + /// /// See the [Rust documentation for `EmojiPresentation`](https://docs.rs/icu/latest/icu/properties/props/struct.EmojiPresentation.html) for more information. /// /// Throws [DataError] on failure. @@ -491,12 +587,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Extender` property, using compiled data. + /// /// See the [Rust documentation for `Extender`](https://docs.rs/icu/latest/icu/properties/props/struct.Extender.html) for more information. factory CodePointSetData.extender() { final result = _icu4x_CodePointSetData_create_extender_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Extender` property, using a particular data source. + /// /// See the [Rust documentation for `Extender`](https://docs.rs/icu/latest/icu/properties/props/struct.Extender.html) for more information. /// /// Throws [DataError] on failure. @@ -508,12 +608,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Extended_Pictographic` property, using compiled data. + /// /// See the [Rust documentation for `ExtendedPictographic`](https://docs.rs/icu/latest/icu/properties/props/struct.ExtendedPictographic.html) for more information. factory CodePointSetData.extendedPictographic() { final result = _icu4x_CodePointSetData_create_extended_pictographic_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Extended_Pictographic` property, using a particular data source. + /// /// See the [Rust documentation for `ExtendedPictographic`](https://docs.rs/icu/latest/icu/properties/props/struct.ExtendedPictographic.html) for more information. /// /// Throws [DataError] on failure. @@ -525,12 +629,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Graph` property, using compiled data. + /// /// See the [Rust documentation for `Graph`](https://docs.rs/icu/latest/icu/properties/props/struct.Graph.html) for more information. factory CodePointSetData.graph() { final result = _icu4x_CodePointSetData_create_graph_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Graph` property, using a particular data source. + /// /// See the [Rust documentation for `Graph`](https://docs.rs/icu/latest/icu/properties/props/struct.Graph.html) for more information. /// /// Throws [DataError] on failure. @@ -542,12 +650,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Grapheme_Base` property, using compiled data. + /// /// See the [Rust documentation for `GraphemeBase`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeBase.html) for more information. factory CodePointSetData.graphemeBase() { final result = _icu4x_CodePointSetData_create_grapheme_base_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Grapheme_Base` property, using a particular data source. + /// /// See the [Rust documentation for `GraphemeBase`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeBase.html) for more information. /// /// Throws [DataError] on failure. @@ -559,12 +671,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Grapheme_Extend` property, using compiled data. + /// /// See the [Rust documentation for `GraphemeExtend`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeExtend.html) for more information. factory CodePointSetData.graphemeExtend() { final result = _icu4x_CodePointSetData_create_grapheme_extend_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Grapheme_Extend` property, using a particular data source. + /// /// See the [Rust documentation for `GraphemeExtend`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeExtend.html) for more information. /// /// Throws [DataError] on failure. @@ -576,12 +692,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Grapheme_Link` property, using compiled data. + /// /// See the [Rust documentation for `GraphemeLink`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeLink.html) for more information. factory CodePointSetData.graphemeLink() { final result = _icu4x_CodePointSetData_create_grapheme_link_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Grapheme_Link` property, using a particular data source. + /// /// See the [Rust documentation for `GraphemeLink`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeLink.html) for more information. /// /// Throws [DataError] on failure. @@ -593,12 +713,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Hex_Digit` property, using compiled data. + /// /// See the [Rust documentation for `HexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.HexDigit.html) for more information. factory CodePointSetData.hexDigit() { final result = _icu4x_CodePointSetData_create_hex_digit_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Hex_Digit` property, using a particular data source. + /// /// See the [Rust documentation for `HexDigit`](https://docs.rs/icu/latest/icu/properties/props/struct.HexDigit.html) for more information. /// /// Throws [DataError] on failure. @@ -610,12 +734,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Hyphen` property, using compiled data. + /// /// See the [Rust documentation for `Hyphen`](https://docs.rs/icu/latest/icu/properties/props/struct.Hyphen.html) for more information. factory CodePointSetData.hyphen() { final result = _icu4x_CodePointSetData_create_hyphen_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Hyphen` property, using a particular data source. + /// /// See the [Rust documentation for `Hyphen`](https://docs.rs/icu/latest/icu/properties/props/struct.Hyphen.html) for more information. /// /// Throws [DataError] on failure. @@ -627,12 +755,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Id_Continue` property, using compiled data. + /// /// See the [Rust documentation for `IdContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.IdContinue.html) for more information. factory CodePointSetData.idContinue() { final result = _icu4x_CodePointSetData_create_id_continue_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Id_Continue` property, using a particular data source. + /// /// See the [Rust documentation for `IdContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.IdContinue.html) for more information. /// /// Throws [DataError] on failure. @@ -644,12 +776,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Ideographic` property, using compiled data. + /// /// See the [Rust documentation for `Ideographic`](https://docs.rs/icu/latest/icu/properties/props/struct.Ideographic.html) for more information. factory CodePointSetData.ideographic() { final result = _icu4x_CodePointSetData_create_ideographic_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Ideographic` property, using a particular data source. + /// /// See the [Rust documentation for `Ideographic`](https://docs.rs/icu/latest/icu/properties/props/struct.Ideographic.html) for more information. /// /// Throws [DataError] on failure. @@ -661,12 +797,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Id_Start` property, using compiled data. + /// /// See the [Rust documentation for `IdStart`](https://docs.rs/icu/latest/icu/properties/props/struct.IdStart.html) for more information. factory CodePointSetData.idStart() { final result = _icu4x_CodePointSetData_create_id_start_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Id_Start` property, using a particular data source. + /// /// See the [Rust documentation for `IdStart`](https://docs.rs/icu/latest/icu/properties/props/struct.IdStart.html) for more information. /// /// Throws [DataError] on failure. @@ -678,12 +818,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Ids_Binary_Operator` property, using compiled data. + /// /// See the [Rust documentation for `IdsBinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsBinaryOperator.html) for more information. factory CodePointSetData.idsBinaryOperator() { final result = _icu4x_CodePointSetData_create_ids_binary_operator_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Ids_Binary_Operator` property, using a particular data source. + /// /// See the [Rust documentation for `IdsBinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsBinaryOperator.html) for more information. /// /// Throws [DataError] on failure. @@ -695,12 +839,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Ids_Trinary_Operator` property, using compiled data. + /// /// See the [Rust documentation for `IdsTrinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsTrinaryOperator.html) for more information. factory CodePointSetData.idsTrinaryOperator() { final result = _icu4x_CodePointSetData_create_ids_trinary_operator_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Ids_Trinary_Operator` property, using a particular data source. + /// /// See the [Rust documentation for `IdsTrinaryOperator`](https://docs.rs/icu/latest/icu/properties/props/struct.IdsTrinaryOperator.html) for more information. /// /// Throws [DataError] on failure. @@ -712,12 +860,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Join_Control` property, using compiled data. + /// /// See the [Rust documentation for `JoinControl`](https://docs.rs/icu/latest/icu/properties/props/struct.JoinControl.html) for more information. factory CodePointSetData.joinControl() { final result = _icu4x_CodePointSetData_create_join_control_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Join_Control` property, using a particular data source. + /// /// See the [Rust documentation for `JoinControl`](https://docs.rs/icu/latest/icu/properties/props/struct.JoinControl.html) for more information. /// /// Throws [DataError] on failure. @@ -729,12 +881,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Logical_Order_Exception` property, using compiled data. + /// /// See the [Rust documentation for `LogicalOrderException`](https://docs.rs/icu/latest/icu/properties/props/struct.LogicalOrderException.html) for more information. factory CodePointSetData.logicalOrderException() { final result = _icu4x_CodePointSetData_create_logical_order_exception_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Logical_Order_Exception` property, using a particular data source. + /// /// See the [Rust documentation for `LogicalOrderException`](https://docs.rs/icu/latest/icu/properties/props/struct.LogicalOrderException.html) for more information. /// /// Throws [DataError] on failure. @@ -746,12 +902,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Lowercase` property, using compiled data. + /// /// See the [Rust documentation for `Lowercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Lowercase.html) for more information. factory CodePointSetData.lowercase() { final result = _icu4x_CodePointSetData_create_lowercase_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Lowercase` property, using a particular data source. + /// /// See the [Rust documentation for `Lowercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Lowercase.html) for more information. /// /// Throws [DataError] on failure. @@ -763,12 +923,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Math` property, using compiled data. + /// /// See the [Rust documentation for `Math`](https://docs.rs/icu/latest/icu/properties/props/struct.Math.html) for more information. factory CodePointSetData.math() { final result = _icu4x_CodePointSetData_create_math_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Math` property, using a particular data source. + /// /// See the [Rust documentation for `Math`](https://docs.rs/icu/latest/icu/properties/props/struct.Math.html) for more information. /// /// Throws [DataError] on failure. @@ -780,12 +944,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Noncharacter_Code_Point` property, using compiled data. + /// /// See the [Rust documentation for `NoncharacterCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.NoncharacterCodePoint.html) for more information. factory CodePointSetData.noncharacterCodePoint() { final result = _icu4x_CodePointSetData_create_noncharacter_code_point_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Noncharacter_Code_Point` property, using a particular data source. + /// /// See the [Rust documentation for `NoncharacterCodePoint`](https://docs.rs/icu/latest/icu/properties/props/struct.NoncharacterCodePoint.html) for more information. /// /// Throws [DataError] on failure. @@ -797,12 +965,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Nfc_Inert` property, using compiled data. + /// /// See the [Rust documentation for `NfcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfcInert.html) for more information. factory CodePointSetData.nfcInert() { final result = _icu4x_CodePointSetData_create_nfc_inert_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Nfc_Inert` property, using a particular data source. + /// /// See the [Rust documentation for `NfcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfcInert.html) for more information. /// /// Throws [DataError] on failure. @@ -814,12 +986,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Nfd_Inert` property, using compiled data. + /// /// See the [Rust documentation for `NfdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfdInert.html) for more information. factory CodePointSetData.nfdInert() { final result = _icu4x_CodePointSetData_create_nfd_inert_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Nfd_Inert` property, using a particular data source. + /// /// See the [Rust documentation for `NfdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfdInert.html) for more information. /// /// Throws [DataError] on failure. @@ -831,12 +1007,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Nfkc_Inert` property, using compiled data. + /// /// See the [Rust documentation for `NfkcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkcInert.html) for more information. factory CodePointSetData.nfkcInert() { final result = _icu4x_CodePointSetData_create_nfkc_inert_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Nfkc_Inert` property, using a particular data source. + /// /// See the [Rust documentation for `NfkcInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkcInert.html) for more information. /// /// Throws [DataError] on failure. @@ -848,12 +1028,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Nfkd_Inert` property, using compiled data. + /// /// See the [Rust documentation for `NfkdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkdInert.html) for more information. factory CodePointSetData.nfkdInert() { final result = _icu4x_CodePointSetData_create_nfkd_inert_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Nfkd_Inert` property, using a particular data source. + /// /// See the [Rust documentation for `NfkdInert`](https://docs.rs/icu/latest/icu/properties/props/struct.NfkdInert.html) for more information. /// /// Throws [DataError] on failure. @@ -865,12 +1049,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Pattern_Syntax` property, using compiled data. + /// /// See the [Rust documentation for `PatternSyntax`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternSyntax.html) for more information. factory CodePointSetData.patternSyntax() { final result = _icu4x_CodePointSetData_create_pattern_syntax_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Pattern_Syntax` property, using a particular data source. + /// /// See the [Rust documentation for `PatternSyntax`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternSyntax.html) for more information. /// /// Throws [DataError] on failure. @@ -882,12 +1070,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Pattern_White_Space` property, using compiled data. + /// /// See the [Rust documentation for `PatternWhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternWhiteSpace.html) for more information. factory CodePointSetData.patternWhiteSpace() { final result = _icu4x_CodePointSetData_create_pattern_white_space_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Pattern_White_Space` property, using a particular data source. + /// /// See the [Rust documentation for `PatternWhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.PatternWhiteSpace.html) for more information. /// /// Throws [DataError] on failure. @@ -899,12 +1091,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Prepended_Concatenation_Mark` property, using compiled data. + /// /// See the [Rust documentation for `PrependedConcatenationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.PrependedConcatenationMark.html) for more information. factory CodePointSetData.prependedConcatenationMark() { final result = _icu4x_CodePointSetData_create_prepended_concatenation_mark_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Prepended_Concatenation_Mark` property, using a particular data source. + /// /// See the [Rust documentation for `PrependedConcatenationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.PrependedConcatenationMark.html) for more information. /// /// Throws [DataError] on failure. @@ -916,12 +1112,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Print` property, using compiled data. + /// /// See the [Rust documentation for `Print`](https://docs.rs/icu/latest/icu/properties/props/struct.Print.html) for more information. factory CodePointSetData.print() { final result = _icu4x_CodePointSetData_create_print_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Print` property, using a particular data source. + /// /// See the [Rust documentation for `Print`](https://docs.rs/icu/latest/icu/properties/props/struct.Print.html) for more information. /// /// Throws [DataError] on failure. @@ -933,12 +1133,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Quotation_Mark` property, using compiled data. + /// /// See the [Rust documentation for `QuotationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.QuotationMark.html) for more information. factory CodePointSetData.quotationMark() { final result = _icu4x_CodePointSetData_create_quotation_mark_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Quotation_Mark` property, using a particular data source. + /// /// See the [Rust documentation for `QuotationMark`](https://docs.rs/icu/latest/icu/properties/props/struct.QuotationMark.html) for more information. /// /// Throws [DataError] on failure. @@ -950,12 +1154,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Radical` property, using compiled data. + /// /// See the [Rust documentation for `Radical`](https://docs.rs/icu/latest/icu/properties/props/struct.Radical.html) for more information. factory CodePointSetData.radical() { final result = _icu4x_CodePointSetData_create_radical_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Radical` property, using a particular data source. + /// /// See the [Rust documentation for `Radical`](https://docs.rs/icu/latest/icu/properties/props/struct.Radical.html) for more information. /// /// Throws [DataError] on failure. @@ -967,12 +1175,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Regional_Indicator` property, using compiled data. + /// /// See the [Rust documentation for `RegionalIndicator`](https://docs.rs/icu/latest/icu/properties/props/struct.RegionalIndicator.html) for more information. factory CodePointSetData.regionalIndicator() { final result = _icu4x_CodePointSetData_create_regional_indicator_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Regional_Indicator` property, using a particular data source. + /// /// See the [Rust documentation for `RegionalIndicator`](https://docs.rs/icu/latest/icu/properties/props/struct.RegionalIndicator.html) for more information. /// /// Throws [DataError] on failure. @@ -984,12 +1196,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Soft_Dotted` property, using compiled data. + /// /// See the [Rust documentation for `SoftDotted`](https://docs.rs/icu/latest/icu/properties/props/struct.SoftDotted.html) for more information. factory CodePointSetData.softDotted() { final result = _icu4x_CodePointSetData_create_soft_dotted_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Soft_Dotted` property, using a particular data source. + /// /// See the [Rust documentation for `SoftDotted`](https://docs.rs/icu/latest/icu/properties/props/struct.SoftDotted.html) for more information. /// /// Throws [DataError] on failure. @@ -1001,12 +1217,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Segment_Starter` property, using compiled data. + /// /// See the [Rust documentation for `SegmentStarter`](https://docs.rs/icu/latest/icu/properties/props/struct.SegmentStarter.html) for more information. factory CodePointSetData.segmentStarter() { final result = _icu4x_CodePointSetData_create_segment_starter_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Segment_Starter` property, using a particular data source. + /// /// See the [Rust documentation for `SegmentStarter`](https://docs.rs/icu/latest/icu/properties/props/struct.SegmentStarter.html) for more information. /// /// Throws [DataError] on failure. @@ -1018,12 +1238,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Case_Sensitive` property, using compiled data. + /// /// See the [Rust documentation for `CaseSensitive`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseSensitive.html) for more information. factory CodePointSetData.caseSensitive() { final result = _icu4x_CodePointSetData_create_case_sensitive_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Case_Sensitive` property, using a particular data source. + /// /// See the [Rust documentation for `CaseSensitive`](https://docs.rs/icu/latest/icu/properties/props/struct.CaseSensitive.html) for more information. /// /// Throws [DataError] on failure. @@ -1035,12 +1259,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Sentence_Terminal` property, using compiled data. + /// /// See the [Rust documentation for `SentenceTerminal`](https://docs.rs/icu/latest/icu/properties/props/struct.SentenceTerminal.html) for more information. factory CodePointSetData.sentenceTerminal() { final result = _icu4x_CodePointSetData_create_sentence_terminal_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Sentence_Terminal` property, using a particular data source. + /// /// See the [Rust documentation for `SentenceTerminal`](https://docs.rs/icu/latest/icu/properties/props/struct.SentenceTerminal.html) for more information. /// /// Throws [DataError] on failure. @@ -1052,12 +1280,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Terminal_Punctuation` property, using compiled data. + /// /// See the [Rust documentation for `TerminalPunctuation`](https://docs.rs/icu/latest/icu/properties/props/struct.TerminalPunctuation.html) for more information. factory CodePointSetData.terminalPunctuation() { final result = _icu4x_CodePointSetData_create_terminal_punctuation_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Terminal_Punctuation` property, using a particular data source. + /// /// See the [Rust documentation for `TerminalPunctuation`](https://docs.rs/icu/latest/icu/properties/props/struct.TerminalPunctuation.html) for more information. /// /// Throws [DataError] on failure. @@ -1069,12 +1301,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Unified_Ideograph` property, using compiled data. + /// /// See the [Rust documentation for `UnifiedIdeograph`](https://docs.rs/icu/latest/icu/properties/props/struct.UnifiedIdeograph.html) for more information. factory CodePointSetData.unifiedIdeograph() { final result = _icu4x_CodePointSetData_create_unified_ideograph_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Unified_Ideograph` property, using a particular data source. + /// /// See the [Rust documentation for `UnifiedIdeograph`](https://docs.rs/icu/latest/icu/properties/props/struct.UnifiedIdeograph.html) for more information. /// /// Throws [DataError] on failure. @@ -1086,12 +1322,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Uppercase` property, using compiled data. + /// /// See the [Rust documentation for `Uppercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Uppercase.html) for more information. factory CodePointSetData.uppercase() { final result = _icu4x_CodePointSetData_create_uppercase_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Uppercase` property, using a particular data source. + /// /// See the [Rust documentation for `Uppercase`](https://docs.rs/icu/latest/icu/properties/props/struct.Uppercase.html) for more information. /// /// Throws [DataError] on failure. @@ -1103,12 +1343,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Variation_Selector` property, using compiled data. + /// /// See the [Rust documentation for `VariationSelector`](https://docs.rs/icu/latest/icu/properties/props/struct.VariationSelector.html) for more information. factory CodePointSetData.variationSelector() { final result = _icu4x_CodePointSetData_create_variation_selector_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Variation_Selector` property, using a particular data source. + /// /// See the [Rust documentation for `VariationSelector`](https://docs.rs/icu/latest/icu/properties/props/struct.VariationSelector.html) for more information. /// /// Throws [DataError] on failure. @@ -1120,12 +1364,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `White_Space` property, using compiled data. + /// /// See the [Rust documentation for `WhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.WhiteSpace.html) for more information. factory CodePointSetData.whiteSpace() { final result = _icu4x_CodePointSetData_create_white_space_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `White_Space` property, using a particular data source. + /// /// See the [Rust documentation for `WhiteSpace`](https://docs.rs/icu/latest/icu/properties/props/struct.WhiteSpace.html) for more information. /// /// Throws [DataError] on failure. @@ -1137,12 +1385,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Xdigit` property, using compiled data. + /// /// See the [Rust documentation for `Xdigit`](https://docs.rs/icu/latest/icu/properties/props/struct.Xdigit.html) for more information. factory CodePointSetData.xdigit() { final result = _icu4x_CodePointSetData_create_xdigit_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Xdigit` property, using a particular data source. + /// /// See the [Rust documentation for `Xdigit`](https://docs.rs/icu/latest/icu/properties/props/struct.Xdigit.html) for more information. /// /// Throws [DataError] on failure. @@ -1154,12 +1406,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Xid_Continue` property, using compiled data. + /// /// See the [Rust documentation for `XidContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.XidContinue.html) for more information. factory CodePointSetData.xidContinue() { final result = _icu4x_CodePointSetData_create_xid_continue_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Xid_Continue` property, using a particular data source. + /// /// See the [Rust documentation for `XidContinue`](https://docs.rs/icu/latest/icu/properties/props/struct.XidContinue.html) for more information. /// /// Throws [DataError] on failure. @@ -1171,12 +1427,16 @@ final class CodePointSetData implements ffi.Finalizable { return CodePointSetData._fromFfi(result.union.ok, []); } + /// Create a set for the `Xid_Start` property, using compiled data. + /// /// See the [Rust documentation for `XidStart`](https://docs.rs/icu/latest/icu/properties/props/struct.XidStart.html) for more information. factory CodePointSetData.xidStart() { final result = _icu4x_CodePointSetData_create_xid_start_mv1(); return CodePointSetData._fromFfi(result, []); } + /// Create a set for the `Xid_Start` property, using a particular data source. + /// /// See the [Rust documentation for `XidStart`](https://docs.rs/icu/latest/icu/properties/props/struct.XidStart.html) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/EmojiSetData.g.dart b/ffi/capi/bindings/dart/EmojiSetData.g.dart index 7291d291282..0b1ceeedb18 100644 --- a/ffi/capi/bindings/dart/EmojiSetData.g.dart +++ b/ffi/capi/bindings/dart/EmojiSetData.g.dart @@ -47,12 +47,16 @@ final class EmojiSetData implements ffi.Finalizable { return result; } + /// Create a map for the `Basic_Emoji` property, using compiled data. + /// /// See the [Rust documentation for `BasicEmoji`](https://docs.rs/icu/latest/icu/properties/props/struct.BasicEmoji.html) for more information. factory EmojiSetData.basic() { final result = _icu4x_EmojiSetData_create_basic_mv1(); return EmojiSetData._fromFfi(result, []); } + /// Create a map for the `Basic_Emoji` property, using a particular data source. + /// /// See the [Rust documentation for `BasicEmoji`](https://docs.rs/icu/latest/icu/properties/props/struct.BasicEmoji.html) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/ExemplarCharacters.g.dart b/ffi/capi/bindings/dart/ExemplarCharacters.g.dart index f53a0ea6bde..2322afe221e 100644 --- a/ffi/capi/bindings/dart/ExemplarCharacters.g.dart +++ b/ffi/capi/bindings/dart/ExemplarCharacters.g.dart @@ -2,7 +2,7 @@ part of 'lib.g.dart'; -/// An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property. +/// A set of "exemplar characters" for a given locale. /// /// See the [Rust documentation for `locale`](https://docs.rs/icu/latest/icu/locale/index.html) for more information. /// @@ -45,6 +45,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return result; } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_main`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_main) for more information. /// /// Throws [DataError] on failure. @@ -56,6 +58,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using a particular data source + /// /// See the [Rust documentation for `try_new_main`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_main) for more information. /// /// Throws [DataError] on failure. @@ -67,6 +71,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "auxiliary" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_auxiliary`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_auxiliary) for more information. /// /// Throws [DataError] on failure. @@ -78,6 +84,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "auxiliary" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_auxiliary`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_auxiliary) for more information. /// /// Throws [DataError] on failure. @@ -89,6 +97,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "punctuation" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_punctuation`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_punctuation) for more information. /// /// Throws [DataError] on failure. @@ -100,6 +110,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "punctuation" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_punctuation`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_punctuation) for more information. /// /// Throws [DataError] on failure. @@ -111,6 +123,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "index" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_numbers`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_numbers) for more information. /// /// Throws [DataError] on failure. @@ -122,6 +136,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "index" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_numbers`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_numbers) for more information. /// /// Throws [DataError] on failure. @@ -133,6 +149,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_index`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_index) for more information. /// /// Throws [DataError] on failure. @@ -144,6 +162,8 @@ final class ExemplarCharacters implements ffi.Finalizable { return ExemplarCharacters._fromFfi(result.union.ok, []); } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using compiled data. + /// /// See the [Rust documentation for `try_new_index`](https://docs.rs/icu/latest/icu/locale/exemplar_chars/struct.ExemplarCharacters.html#method.try_new_index) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/GeneralCategoryNameToMaskMapper.g.dart b/ffi/capi/bindings/dart/GeneralCategoryNameToMaskMapper.g.dart index 14c8861ac42..f4147204c9d 100644 --- a/ffi/capi/bindings/dart/GeneralCategoryNameToMaskMapper.g.dart +++ b/ffi/capi/bindings/dart/GeneralCategoryNameToMaskMapper.g.dart @@ -48,12 +48,16 @@ final class GeneralCategoryNameToMaskMapper implements ffi.Finalizable { return result; } + /// Create a name-to-mask mapper for the `General_Category` property, using compiled data. + /// /// See the [Rust documentation for `GeneralCategoryGroup`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.GeneralCategoryGroup.html) for more information. factory GeneralCategoryNameToMaskMapper() { final result = _icu4x_GeneralCategoryNameToMaskMapper_create_mv1(); return GeneralCategoryNameToMaskMapper._fromFfi(result, []); } + /// Create a name-to-mask mapper for the `General_Category` property, using a particular data source. + /// /// See the [Rust documentation for `GeneralCategoryGroup`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.GeneralCategoryGroup.html) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/LineSegmenter.g.dart b/ffi/capi/bindings/dart/LineSegmenter.g.dart index 570cb22dafe..ea1682dcdae 100644 --- a/ffi/capi/bindings/dart/LineSegmenter.g.dart +++ b/ffi/capi/bindings/dart/LineSegmenter.g.dart @@ -24,7 +24,7 @@ final class LineSegmenter implements ffi.Finalizable { static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_icu4x_LineSegmenter_destroy_mv1)); - /// Construct a [`LineSegmenter`] with default options. It automatically loads the best + /// Construct a [`LineSegmenter`] with default options using compiled data. It automatically loads the best /// available payload data for Burmese, Khmer, Lao, and Thai. /// /// See the [Rust documentation for `new_auto`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_auto) for more information. @@ -33,7 +33,7 @@ final class LineSegmenter implements ffi.Finalizable { return LineSegmenter._fromFfi(result, []); } - /// Construct a [`LineSegmenter`] with default options. It automatically loads the best + /// Construct a [`LineSegmenter`] with default options using a particular data source. It automatically loads the best /// available payload data for Burmese, Khmer, Lao, and Thai. /// /// See the [Rust documentation for `new_auto`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_auto) for more information. @@ -48,7 +48,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with default options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using compiled data. /// /// See the [Rust documentation for `new_lstm`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_lstm) for more information. factory LineSegmenter.lstm() { @@ -57,7 +57,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with default options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. /// /// See the [Rust documentation for `new_lstm`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_lstm) for more information. /// @@ -71,7 +71,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with default options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai.. + /// Burmese, Khmer, Lao, and Thai, using compiled data /// /// See the [Rust documentation for `new_dictionary`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_dictionary) for more information. factory LineSegmenter.dictionary() { @@ -80,7 +80,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with default options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai.. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. /// /// See the [Rust documentation for `new_dictionary`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_dictionary) for more information. /// @@ -93,7 +93,7 @@ final class LineSegmenter implements ffi.Finalizable { return LineSegmenter._fromFfi(result.union.ok, []); } - /// Construct a [`LineSegmenter`] with custom options. It automatically loads the best + /// Construct a [`LineSegmenter`] with custom options using compiled data. It automatically loads the best /// available payload data for Burmese, Khmer, Lao, and Thai. /// /// See the [Rust documentation for `new_auto_with_options`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_auto_with_options) for more information. @@ -104,7 +104,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with custom options. It automatically loads the best - /// available payload data for Burmese, Khmer, Lao, and Thai. + /// available payload data for Burmese, Khmer, Lao, and Thai, using a particular data source. /// /// See the [Rust documentation for `new_auto_with_options`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_auto_with_options) for more information. /// @@ -119,7 +119,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with custom options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using compiled data. /// /// See the [Rust documentation for `new_lstm_with_options`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_lstm_with_options) for more information. factory LineSegmenter.lstmWithOptions(Locale contentLocale, LineBreakOptions options) { @@ -129,7 +129,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with custom options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. /// /// See the [Rust documentation for `new_lstm_with_options`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_lstm_with_options) for more information. /// @@ -144,7 +144,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with custom options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using compiled data. /// /// See the [Rust documentation for `new_dictionary_with_options`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_dictionary_with_options) for more information. factory LineSegmenter.dictionaryWithOptions(Locale contentLocale, LineBreakOptions options) { @@ -154,7 +154,7 @@ final class LineSegmenter implements ffi.Finalizable { } /// Construct a [`LineSegmenter`] with custom options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. /// /// See the [Rust documentation for `new_dictionary_with_options`](https://docs.rs/icu/latest/icu/segmenter/struct.LineSegmenter.html#method.new_dictionary_with_options) for more information. /// diff --git a/ffi/capi/bindings/dart/PropertyValueNameToEnumMapper.g.dart b/ffi/capi/bindings/dart/PropertyValueNameToEnumMapper.g.dart index 84416fd458e..7563cb9d1eb 100644 --- a/ffi/capi/bindings/dart/PropertyValueNameToEnumMapper.g.dart +++ b/ffi/capi/bindings/dart/PropertyValueNameToEnumMapper.g.dart @@ -50,12 +50,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return result; } + /// Create a name-to-enum mapper for the `General_Category` property, using compiled data. + /// /// See the [Rust documentation for `GeneralCategory`](https://docs.rs/icu_properties/latest/icu_properties/props/enum.GeneralCategory.html) for more information. factory PropertyValueNameToEnumMapper.generalCategory() { final result = _icu4x_PropertyValueNameToEnumMapper_create_general_category_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `General_Category` property, using a particular data source. + /// /// See the [Rust documentation for `GeneralCategory`](https://docs.rs/icu_properties/latest/icu_properties/props/enum.GeneralCategory.html) for more information. /// /// Throws [DataError] on failure. @@ -67,12 +71,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Hangul_Syllable_Type` property, using compiled data. + /// /// See the [Rust documentation for `HangulSyllableType`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.HangulSyllableType.html) for more information. factory PropertyValueNameToEnumMapper.hangulSyllableType() { final result = _icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Hangul_Syllable_Type` property, using a particular data source. + /// /// See the [Rust documentation for `HangulSyllableType`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.HangulSyllableType.html) for more information. /// /// Throws [DataError] on failure. @@ -84,12 +92,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `East_Asian_Width` property, using compiled data. + /// /// See the [Rust documentation for `EastAsianWidth`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.EastAsianWidth.html) for more information. factory PropertyValueNameToEnumMapper.eastAsianWidth() { final result = _icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `East_Asian_Width` property, using a particular data source. + /// /// See the [Rust documentation for `EastAsianWidth`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.EastAsianWidth.html) for more information. /// /// Throws [DataError] on failure. @@ -101,12 +113,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Bidi_Class` property, using compiled data. + /// /// See the [Rust documentation for `BidiClass`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.BidiClass.html) for more information. factory PropertyValueNameToEnumMapper.bidiClass() { final result = _icu4x_PropertyValueNameToEnumMapper_create_bidi_class_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Bidi_Class` property, using a particular data source. + /// /// See the [Rust documentation for `BidiClass`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.BidiClass.html) for more information. /// /// Throws [DataError] on failure. @@ -118,12 +134,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Indic_Syllabic_Category` property, using compiled data. + /// /// See the [Rust documentation for `IndicSyllabicCategory`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.IndicSyllabicCategory.html) for more information. factory PropertyValueNameToEnumMapper.indicSyllabicCategory() { final result = _icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Indic_Syllabic_Category` property, using a particular data source. + /// /// See the [Rust documentation for `IndicSyllabicCategory`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.IndicSyllabicCategory.html) for more information. /// /// Throws [DataError] on failure. @@ -135,12 +155,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Line_Break` property, using compiled data. + /// /// See the [Rust documentation for `LineBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.LineBreak.html) for more information. factory PropertyValueNameToEnumMapper.lineBreak() { final result = _icu4x_PropertyValueNameToEnumMapper_create_line_break_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Line_Break` property, using a particular data source. + /// /// See the [Rust documentation for `LineBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.LineBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -152,12 +176,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Grapheme_Cluster_Break` property, using compiled data. + /// /// See the [Rust documentation for `GraphemeClusterBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.GraphemeClusterBreak.html) for more information. factory PropertyValueNameToEnumMapper.graphemeClusterBreak() { final result = _icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Grapheme_Cluster_Break` property, using a particular data source. + /// /// See the [Rust documentation for `GraphemeClusterBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.GraphemeClusterBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -169,12 +197,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Word_Break` property, using compiled data. + /// /// See the [Rust documentation for `WordBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.WordBreak.html) for more information. factory PropertyValueNameToEnumMapper.wordBreak() { final result = _icu4x_PropertyValueNameToEnumMapper_create_word_break_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Word_Break` property, using a particular data source. + /// /// See the [Rust documentation for `WordBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.WordBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -186,12 +218,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Sentence_Break` property, using compiled data. + /// /// See the [Rust documentation for `SentenceBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.SentenceBreak.html) for more information. factory PropertyValueNameToEnumMapper.sentenceBreak() { final result = _icu4x_PropertyValueNameToEnumMapper_create_sentence_break_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Sentence_Break` property, using a particular data source. + /// /// See the [Rust documentation for `SentenceBreak`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.SentenceBreak.html) for more information. /// /// Throws [DataError] on failure. @@ -203,12 +239,16 @@ final class PropertyValueNameToEnumMapper implements ffi.Finalizable { return PropertyValueNameToEnumMapper._fromFfi(result.union.ok, []); } + /// Create a name-to-enum mapper for the `Script` property, using compiled data. + /// /// See the [Rust documentation for `Script`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.Script.html) for more information. factory PropertyValueNameToEnumMapper.script() { final result = _icu4x_PropertyValueNameToEnumMapper_create_script_mv1(); return PropertyValueNameToEnumMapper._fromFfi(result, []); } + /// Create a name-to-enum mapper for the `Script` property, using a particular data source. + /// /// See the [Rust documentation for `Script`](https://docs.rs/icu_properties/latest/icu_properties/props/struct.Script.html) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/ScriptWithExtensions.g.dart b/ffi/capi/bindings/dart/ScriptWithExtensions.g.dart index f716a9d8b81..32370b4c2f5 100644 --- a/ffi/capi/bindings/dart/ScriptWithExtensions.g.dart +++ b/ffi/capi/bindings/dart/ScriptWithExtensions.g.dart @@ -24,12 +24,16 @@ final class ScriptWithExtensions implements ffi.Finalizable { static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_icu4x_ScriptWithExtensions_destroy_mv1)); + /// Create a map for the `Script`/`Script_Extensions` properties, using compiled data. + /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/properties/script/struct.ScriptWithExtensions.html#method.new) for more information. factory ScriptWithExtensions() { final result = _icu4x_ScriptWithExtensions_create_mv1(); return ScriptWithExtensions._fromFfi(result, []); } + /// Create a map for the `Script`/`Script_Extensions` properties, using compiled data. + /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/properties/script/struct.ScriptWithExtensions.html#method.new) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/TimeZoneIdMapper.g.dart b/ffi/capi/bindings/dart/TimeZoneIdMapper.g.dart index 3ad117ae7c1..c2e2cd3175f 100644 --- a/ffi/capi/bindings/dart/TimeZoneIdMapper.g.dart +++ b/ffi/capi/bindings/dart/TimeZoneIdMapper.g.dart @@ -27,12 +27,16 @@ final class TimeZoneIdMapper implements ffi.Finalizable { static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_icu4x_TimeZoneIdMapper_destroy_mv1)); + /// Create a new [`TimeZoneIdMapper`] using compiled data + /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapper.html#method.new) for more information. factory TimeZoneIdMapper() { final result = _icu4x_TimeZoneIdMapper_create_mv1(); return TimeZoneIdMapper._fromFfi(result, []); } + /// Create a new [`TimeZoneIdMapper`] using a particular data source + /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapper.html#method.new) for more information. /// /// Throws [DataError] on failure. diff --git a/ffi/capi/bindings/dart/TimeZoneIdMapperWithFastCanonicalization.g.dart b/ffi/capi/bindings/dart/TimeZoneIdMapperWithFastCanonicalization.g.dart index c4f4700dede..2c7618ceb0c 100644 --- a/ffi/capi/bindings/dart/TimeZoneIdMapperWithFastCanonicalization.g.dart +++ b/ffi/capi/bindings/dart/TimeZoneIdMapperWithFastCanonicalization.g.dart @@ -27,6 +27,8 @@ final class TimeZoneIdMapperWithFastCanonicalization implements ffi.Finalizable static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_icu4x_TimeZoneIdMapperWithFastCanonicalization_destroy_mv1)); + /// Create a new [`TimeZoneIdMapperWithFastCanonicalization`] using compiled data + /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapperWithFastCanonicalization.html#method.new) for more information. /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapperWithFastCanonicalizationBorrowed.html#method.new) for more information. @@ -35,6 +37,8 @@ final class TimeZoneIdMapperWithFastCanonicalization implements ffi.Finalizable return TimeZoneIdMapperWithFastCanonicalization._fromFfi(result, []); } + /// Create a new [`TimeZoneIdMapperWithFastCanonicalization`] using a particular data source + /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapperWithFastCanonicalization.html#method.new) for more information. /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapperWithFastCanonicalizationBorrowed.html#method.new) for more information. diff --git a/ffi/capi/bindings/dart/UnitsConverterFactory.g.dart b/ffi/capi/bindings/dart/UnitsConverterFactory.g.dart index 8fa9cf4ca22..ffb6f3c557a 100644 --- a/ffi/capi/bindings/dart/UnitsConverterFactory.g.dart +++ b/ffi/capi/bindings/dart/UnitsConverterFactory.g.dart @@ -27,7 +27,7 @@ final class UnitsConverterFactory implements ffi.Finalizable { static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_icu4x_UnitsConverterFactory_destroy_mv1)); - /// Construct a new [`UnitsConverterFactory`] instance. + /// Construct a new [`UnitsConverterFactory`] instance using compiled data. /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/experimental/units/converter_factory/struct.ConverterFactory.html#method.new) for more information. factory UnitsConverterFactory() { @@ -35,7 +35,7 @@ final class UnitsConverterFactory implements ffi.Finalizable { return UnitsConverterFactory._fromFfi(result, []); } - /// Construct a new [`UnitsConverterFactory`] instance. + /// Construct a new [`UnitsConverterFactory`] instance using a particular data source. /// /// See the [Rust documentation for `new`](https://docs.rs/icu/latest/icu/experimental/units/converter_factory/struct.ConverterFactory.html#method.new) for more information. /// diff --git a/ffi/capi/bindings/js/ExemplarCharacters.d.ts b/ffi/capi/bindings/js/ExemplarCharacters.d.ts index 4e8a05ace91..90ed24b9431 100644 --- a/ffi/capi/bindings/js/ExemplarCharacters.d.ts +++ b/ffi/capi/bindings/js/ExemplarCharacters.d.ts @@ -5,7 +5,7 @@ import type { Locale } from "./Locale" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; -/** An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property. +/** A set of "exemplar characters" for a given locale. * *See the [Rust documentation for `locale`](https://docs.rs/icu/latest/icu/locale/index.html) for more information. * diff --git a/ffi/capi/bindings/js/ExemplarCharacters.mjs b/ffi/capi/bindings/js/ExemplarCharacters.mjs index 1b50864318a..b39421fe3bd 100644 --- a/ffi/capi/bindings/js/ExemplarCharacters.mjs +++ b/ffi/capi/bindings/js/ExemplarCharacters.mjs @@ -6,7 +6,7 @@ import wasm from "./diplomat-wasm.mjs"; import * as diplomatRuntime from "./diplomat-runtime.mjs"; -/** An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property. +/** A set of "exemplar characters" for a given locale. * *See the [Rust documentation for `locale`](https://docs.rs/icu/latest/icu/locale/index.html) for more information. * diff --git a/ffi/capi/src/exemplar_chars.rs b/ffi/capi/src/exemplar_chars.rs index 0a4d5dc98dc..6fa23bec364 100644 --- a/ffi/capi/src/exemplar_chars.rs +++ b/ffi/capi/src/exemplar_chars.rs @@ -13,7 +13,7 @@ pub mod ffi { use crate::provider::ffi::DataProvider; #[diplomat::opaque] - /// An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property. + /// A set of "exemplar characters" for a given locale. #[diplomat::rust_link(icu::locale, Mod)] #[diplomat::rust_link(icu::locale::exemplar_chars::ExemplarCharacters, Struct)] #[diplomat::rust_link(icu::locale::exemplar_chars::ExemplarCharactersBorrowed, Struct)] @@ -46,6 +46,7 @@ pub mod ffi { self.0.as_borrowed().contains32(cp) } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_main, FnInStruct @@ -60,6 +61,7 @@ pub mod ffi { ))) } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using a particular data source #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_main, FnInStruct @@ -78,6 +80,7 @@ pub mod ffi { )?))) } + /// Create an [`ExemplarCharacters`] for the "auxiliary" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_auxiliary, FnInStruct @@ -91,7 +94,7 @@ pub mod ffi { .static_to_owned(), ))) } - + /// Create an [`ExemplarCharacters`] for the "auxiliary" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_auxiliary, FnInStruct @@ -110,6 +113,7 @@ pub mod ffi { )?))) } + /// Create an [`ExemplarCharacters`] for the "punctuation" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_punctuation, FnInStruct @@ -123,7 +127,7 @@ pub mod ffi { .static_to_owned(), ))) } - + /// Create an [`ExemplarCharacters`] for the "punctuation" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_punctuation, FnInStruct @@ -141,6 +145,8 @@ pub mod ffi { &locale )?))) } + + /// Create an [`ExemplarCharacters`] for the "index" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_numbers, FnInStruct @@ -154,6 +160,8 @@ pub mod ffi { .static_to_owned(), ))) } + + /// Create an [`ExemplarCharacters`] for the "index" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_numbers, FnInStruct @@ -172,6 +180,7 @@ pub mod ffi { )?))) } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_index, FnInStruct @@ -186,6 +195,7 @@ pub mod ffi { ))) } + /// Create an [`ExemplarCharacters`] for the "main" set of exemplar characters for a given locale, using compiled data. #[diplomat::rust_link( icu::locale::exemplar_chars::ExemplarCharacters::try_new_index, FnInStruct diff --git a/ffi/capi/src/properties_maps.rs b/ffi/capi/src/properties_maps.rs index 0ace5998343..f1fea94fe51 100644 --- a/ffi/capi/src/properties_maps.rs +++ b/ffi/capi/src/properties_maps.rs @@ -127,6 +127,8 @@ pub mod ffi { self.0.as_borrowed().get_set_for_value(value), )) } + + /// Create a map for the `General_Category` property, using compiled data. #[diplomat::rust_link(icu::properties::props::GeneralCategory, Enum)] #[diplomat::attr(auto, named_constructor = "general_category")] #[cfg(feature = "compiled_data")] @@ -134,6 +136,7 @@ pub mod ffi { convert_8(icu_properties::CodePointMapData::::new().static_to_owned()) } + /// Create a map for the `General_Category` property, using a particular data source #[diplomat::rust_link(icu::properties::props::GeneralCategory, Enum)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "general_category_with_provider")] pub fn create_general_category_with_provider( @@ -145,6 +148,8 @@ pub mod ffi { provider, )?)) } + + /// Create a map for the `Bidi_Class` property, using compiled data. #[diplomat::rust_link(icu::properties::props::BidiClass, Struct)] #[diplomat::attr(auto, named_constructor = "bidi_class")] #[cfg(feature = "compiled_data")] @@ -152,6 +157,7 @@ pub mod ffi { convert_8(icu_properties::CodePointMapData::::new().static_to_owned()) } + /// Create a map for the `Bidi_Class` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::BidiClass, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "bidi_class_with_provider")] pub fn create_bidi_class_with_provider( @@ -163,6 +169,7 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `East_Asian_Width` property, using compiled data. #[diplomat::rust_link(icu::properties::props::EastAsianWidth, Struct)] #[diplomat::attr(auto, named_constructor = "east_asian_width")] #[cfg(feature = "compiled_data")] @@ -170,6 +177,7 @@ pub mod ffi { convert_8(icu_properties::CodePointMapData::::new().static_to_owned()) } + /// Create a map for the `East_Asian_Width` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::EastAsianWidth, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "east_asian_width_with_provider")] pub fn create_east_asian_width_with_provider( @@ -181,6 +189,7 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Hangul_Syllable_Type` property, using compiled data. #[diplomat::rust_link(icu::properties::props::HangulSyllableType, Struct)] #[diplomat::attr(auto, named_constructor = "hangul_syllable_type")] #[cfg(feature = "compiled_data")] @@ -189,7 +198,7 @@ pub mod ffi { icu_properties::CodePointMapData::::new().static_to_owned(), ) } - + /// Create a map for the `Hangul_Syllable_Type` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::HangulSyllableType, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "hangul_syllable_type_with_provider")] pub fn create_hangul_syllable_type_with_provider( @@ -201,6 +210,7 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Indic_Syllabic_Property` property, using compiled data. #[diplomat::rust_link(icu::properties::props::IndicSyllabicCategory, Struct)] #[diplomat::attr(auto, named_constructor = "indic_syllabic_category")] #[cfg(feature = "compiled_data")] @@ -209,7 +219,7 @@ pub mod ffi { icu_properties::CodePointMapData::::new().static_to_owned(), ) } - + /// Create a map for the `Indic_Syllabic_Property` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::IndicSyllabicCategory, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "indic_syllabic_category_with_provider")] pub fn create_indic_syllabic_category_with_provider( @@ -221,13 +231,14 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Line_Break` property, using compiled data. #[diplomat::rust_link(icu::properties::props::LineBreak, Struct)] #[diplomat::attr(auto, named_constructor = "line_break")] #[cfg(feature = "compiled_data")] pub fn create_line_break() -> Box { convert_8(icu_properties::CodePointMapData::::new().static_to_owned()) } - + /// Create a map for the `Line_Break` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::LineBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "line_break_with_provider")] pub fn create_line_break_with_provider( @@ -239,6 +250,7 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Grapheme_Cluster_Break` property, using compiled data. #[diplomat::rust_link(icu::properties::props::GraphemeClusterBreak, Struct)] #[diplomat::attr(auto, named_constructor = "grapheme_cluster_break")] #[cfg(feature = "compiled_data")] @@ -247,7 +259,7 @@ pub mod ffi { icu_properties::CodePointMapData::::new().static_to_owned(), ) } - + /// Create a map for the `Grapheme_Cluster_Break` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::GraphemeClusterBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "grapheme_cluster_break_with_provider")] pub fn create_grapheme_cluster_break_with_provider( @@ -259,13 +271,14 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Word_Break` property, using compiled data. #[diplomat::rust_link(icu::properties::props::WordBreak, Struct)] #[diplomat::attr(auto, named_constructor = "word_break")] #[cfg(feature = "compiled_data")] pub fn create_word_break() -> Box { convert_8(icu_properties::CodePointMapData::::new().static_to_owned()) } - + /// Create a map for the `Word_Break` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::WordBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "word_break_with_provider")] pub fn create_word_break_with_provider( @@ -277,13 +290,14 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Sentence_Break` property, using compiled data. #[diplomat::rust_link(icu::properties::props::SentenceBreak, Struct)] #[diplomat::attr(auto, named_constructor = "sentence_break")] #[cfg(feature = "compiled_data")] pub fn create_sentence_break() -> Box { convert_8(icu_properties::CodePointMapData::::new().static_to_owned()) } - + /// Create a map for the `Sentence_Break` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::SentenceBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "sentence_break_with_provider")] pub fn create_sentence_break_with_provider( @@ -295,6 +309,7 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Joining_Type` property, using compiled data. #[diplomat::rust_link(icu::properties::props::JoiningType, Struct)] #[diplomat::attr(auto, named_constructor = "joining_type")] #[cfg(feature = "compiled_data")] @@ -302,6 +317,7 @@ pub mod ffi { convert_8(icu_properties::CodePointMapData::::new().static_to_owned()) } + /// Create a map for the `Joining_Type` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::JoiningType, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "joining_type_with_provider")] pub fn create_joining_type_with_provider( @@ -313,6 +329,7 @@ pub mod ffi { provider, )?)) } + /// Create a map for the `Canonical_Combining_Class` property, using compiled data. #[diplomat::rust_link(icu::properties::props::CanonicalCombiningClass, Struct)] #[diplomat::attr(auto, named_constructor = "canonical_combining_class")] #[cfg(feature = "compiled_data")] @@ -322,7 +339,7 @@ pub mod ffi { .static_to_owned(), ) } - + /// Create a map for the `Canonical_Combining_Class` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::CanonicalCombiningClass, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "canonical_combining_class_with_provider")] pub fn create_canonical_combining_class_with_provider( @@ -392,6 +409,7 @@ pub mod ffi { )) } + /// Create a map for the `Script` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Script, Struct)] #[diplomat::attr(auto, named_constructor = "script")] #[cfg(feature = "compiled_data")] @@ -405,6 +423,7 @@ pub mod ffi { Box::new(CodePointMapData16(data)) } + /// Create a map for the `Script` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Script, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "script_with_provider")] pub fn create_script_with_provider( diff --git a/ffi/capi/src/properties_names.rs b/ffi/capi/src/properties_names.rs index a6b89a80c2c..78898276175 100644 --- a/ffi/capi/src/properties_names.rs +++ b/ffi/capi/src/properties_names.rs @@ -57,6 +57,8 @@ pub mod ffi { .map(|u_16| u_16 as i16) .unwrap_or(-1) } + + /// Create a name-to-enum mapper for the `General_Category` property, using compiled data. #[diplomat::rust_link(icu_properties::props::GeneralCategory, Enum)] #[diplomat::attr(auto, named_constructor = "general_category")] #[cfg(feature = "compiled_data")] @@ -68,6 +70,7 @@ pub mod ffi { )) } + /// Create a name-to-enum mapper for the `General_Category` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::GeneralCategory, Enum)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "general_category_with_provider")] pub fn create_general_category_with_provider( @@ -82,6 +85,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Hangul_Syllable_Type` property, using compiled data. #[diplomat::rust_link(icu_properties::props::HangulSyllableType, Struct)] #[diplomat::attr(auto, named_constructor = "hangul_syllable_type")] #[cfg(feature = "compiled_data")] @@ -92,7 +96,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `Hangul_Syllable_Type` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::HangulSyllableType, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "hangul_syllable_type_with_provider")] pub fn create_hangul_syllable_type_with_provider( @@ -107,6 +111,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `East_Asian_Width` property, using compiled data. #[diplomat::rust_link(icu_properties::props::EastAsianWidth, Struct)] #[diplomat::attr(auto, named_constructor = "east_asian_width")] #[cfg(feature = "compiled_data")] @@ -117,7 +122,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `East_Asian_Width` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::EastAsianWidth, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "east_asian_width_with_provider")] pub fn create_east_asian_width_with_provider( @@ -132,6 +137,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Bidi_Class` property, using compiled data. #[diplomat::rust_link(icu_properties::props::BidiClass, Struct)] #[diplomat::attr(auto, named_constructor = "bidi_class")] #[cfg(feature = "compiled_data")] @@ -142,7 +148,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `Bidi_Class` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::BidiClass, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "bidi_class_with_provider")] pub fn create_bidi_class_with_provider( @@ -157,13 +163,14 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Indic_Syllabic_Category` property, using compiled data. #[diplomat::rust_link(icu_properties::props::IndicSyllabicCategory, Struct)] #[diplomat::attr(auto, named_constructor = "indic_syllabic_category")] #[cfg(feature = "compiled_data")] pub fn create_indic_syllabic_category() -> Box { Box::new(PropertyValueNameToEnumMapper(icu_properties::PropertyParser::::new().static_to_owned().erase())) } - + /// Create a name-to-enum mapper for the `Indic_Syllabic_Category` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::IndicSyllabicCategory, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "indic_syllabic_category_with_provider")] pub fn create_indic_syllabic_category_with_provider( @@ -178,6 +185,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Line_Break` property, using compiled data. #[diplomat::rust_link(icu_properties::props::LineBreak, Struct)] #[diplomat::attr(auto, named_constructor = "line_break")] #[cfg(feature = "compiled_data")] @@ -188,7 +196,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `Line_Break` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::LineBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "line_break_with_provider")] pub fn create_line_break_with_provider( @@ -203,6 +211,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Grapheme_Cluster_Break` property, using compiled data. #[diplomat::rust_link(icu_properties::props::GraphemeClusterBreak, Struct)] #[diplomat::attr(auto, named_constructor = "grapheme_cluster_break")] #[cfg(feature = "compiled_data")] @@ -214,7 +223,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `Grapheme_Cluster_Break` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::GraphemeClusterBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "grapheme_cluster_break_with_provider")] pub fn create_grapheme_cluster_break_with_provider( @@ -229,6 +238,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Word_Break` property, using compiled data. #[diplomat::rust_link(icu_properties::props::WordBreak, Struct)] #[diplomat::attr(auto, named_constructor = "word_break")] #[cfg(feature = "compiled_data")] @@ -239,7 +249,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `Word_Break` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::WordBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "word_break_with_provider")] pub fn create_word_break_with_provider( @@ -254,6 +264,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Sentence_Break` property, using compiled data. #[diplomat::rust_link(icu_properties::props::SentenceBreak, Struct)] #[diplomat::attr(auto, named_constructor = "sentence_break")] #[cfg(feature = "compiled_data")] @@ -264,7 +275,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `Sentence_Break` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::SentenceBreak, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "sentence_break_with_provider")] pub fn create_sentence_break_with_provider( @@ -279,6 +290,7 @@ pub mod ffi { .erase(), ))) } + /// Create a name-to-enum mapper for the `Script` property, using compiled data. #[diplomat::rust_link(icu_properties::props::Script, Struct)] #[diplomat::attr(auto, named_constructor = "script")] #[cfg(feature = "compiled_data")] @@ -289,7 +301,7 @@ pub mod ffi { .erase(), )) } - + /// Create a name-to-enum mapper for the `Script` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::Script, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "script_with_provider")] pub fn create_script_with_provider( @@ -352,7 +364,7 @@ pub mod ffi { .map(Into::into) .unwrap_or_default() } - + /// Create a name-to-mask mapper for the `General_Category` property, using compiled data. #[diplomat::rust_link(icu_properties::props::GeneralCategoryGroup, Struct)] #[diplomat::attr(auto, constructor)] #[cfg(feature = "compiled_data")] @@ -363,6 +375,7 @@ pub mod ffi { .static_to_owned(), )) } + /// Create a name-to-mask mapper for the `General_Category` property, using a particular data source. #[diplomat::rust_link(icu_properties::props::GeneralCategoryGroup, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "with_provider")] pub fn create_with_provider( diff --git a/ffi/capi/src/properties_sets.rs b/ffi/capi/src/properties_sets.rs index 7e093199a76..1207f520fe7 100644 --- a/ffi/capi/src/properties_sets.rs +++ b/ffi/capi/src/properties_sets.rs @@ -106,6 +106,7 @@ pub mod ffi { ))) } + /// Create a set for the `Ascii_Hex_Digit` property, using compiled data. #[diplomat::rust_link(icu::properties::props::AsciiHexDigit, Struct)] #[diplomat::attr(auto, named_constructor = "ascii_hex_digit")] #[cfg(feature = "compiled_data")] @@ -115,6 +116,7 @@ pub mod ffi { )) } + /// Create a set for the `Ascii_Hex_Digit` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::AsciiHexDigit, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "ascii_hex_digit_with_provider")] pub fn create_ascii_hex_digit_with_provider( @@ -127,6 +129,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Alnum` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Alnum, Struct)] #[diplomat::attr(auto, named_constructor = "alnum")] #[cfg(feature = "compiled_data")] @@ -136,6 +139,7 @@ pub mod ffi { )) } + /// Create a set for the `Alnum` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Alnum, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "alnum_with_provider")] pub fn create_alnum_with_provider( @@ -148,6 +152,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Alphabetic` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Alphabetic, Struct)] #[diplomat::attr(auto, named_constructor = "alphabetic")] #[cfg(feature = "compiled_data")] @@ -157,6 +162,7 @@ pub mod ffi { )) } + /// Create a set for the `Alphabetic` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Alphabetic, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "alphabetic_with_provider")] pub fn create_alphabetic_with_provider( @@ -169,6 +175,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Bidi_Control` property, using compiled data. #[diplomat::rust_link(icu::properties::props::BidiControl, Struct)] #[diplomat::attr(auto, named_constructor = "bidi_control")] #[cfg(feature = "compiled_data")] @@ -178,6 +185,7 @@ pub mod ffi { )) } + /// Create a set for the `Bidi_Control` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::BidiControl, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "bidi_control_with_provider")] pub fn create_bidi_control_with_provider( @@ -190,6 +198,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Bidi_Mirrored` property, using compiled data. #[diplomat::rust_link(icu::properties::props::BidiMirrored, Struct)] #[diplomat::attr(auto, named_constructor = "bidi_mirrored")] #[cfg(feature = "compiled_data")] @@ -199,6 +208,7 @@ pub mod ffi { )) } + /// Create a set for the `Bidi_Mirrored` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::BidiMirrored, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "bidi_mirrored_with_provider")] pub fn create_bidi_mirrored_with_provider( @@ -211,6 +221,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Blank` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Blank, Struct)] #[diplomat::attr(auto, named_constructor = "blank")] #[cfg(feature = "compiled_data")] @@ -220,6 +231,7 @@ pub mod ffi { )) } + /// Create a set for the `Blank` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Blank, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "blank_with_provider")] pub fn create_blank_with_provider( @@ -232,6 +244,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Cased` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Cased, Struct)] #[diplomat::attr(auto, named_constructor = "cased")] #[cfg(feature = "compiled_data")] @@ -241,6 +254,7 @@ pub mod ffi { )) } + /// Create a set for the `Cased` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Cased, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "cased_with_provider")] pub fn create_cased_with_provider( @@ -253,6 +267,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Case_Ignorable` property, using compiled data. #[diplomat::rust_link(icu::properties::props::CaseIgnorable, Struct)] #[diplomat::attr(auto, named_constructor = "case_ignorable")] #[cfg(feature = "compiled_data")] @@ -262,6 +277,7 @@ pub mod ffi { )) } + /// Create a set for the `Case_Ignorable` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::CaseIgnorable, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "case_ignorable_with_provider")] pub fn create_case_ignorable_with_provider( @@ -274,6 +290,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Full_Composition_Exclusion` property, using compiled data. #[diplomat::rust_link(icu::properties::props::FullCompositionExclusion, Struct)] #[diplomat::attr(auto, named_constructor = "full_composition_exclusion")] #[cfg(feature = "compiled_data")] @@ -284,6 +301,7 @@ pub mod ffi { )) } + /// Create a set for the `Full_Composition_Exclusion` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::FullCompositionExclusion, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "full_composition_exclusion_with_provider")] pub fn create_full_composition_exclusion_with_provider( @@ -296,6 +314,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Changes_When_Casefolded` property, using compiled data. #[diplomat::rust_link(icu::properties::props::ChangesWhenCasefolded, Struct)] #[diplomat::attr(auto, named_constructor = "changes_when_casefolded")] #[cfg(feature = "compiled_data")] @@ -305,6 +324,7 @@ pub mod ffi { )) } + /// Create a set for the `Changes_When_Casefolded` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::ChangesWhenCasefolded, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "changes_when_casefolded_with_provider")] pub fn create_changes_when_casefolded_with_provider( @@ -317,6 +337,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Changes_When_Casemapped` property, using compiled data. #[diplomat::rust_link(icu::properties::props::ChangesWhenCasemapped, Struct)] #[diplomat::attr(auto, named_constructor = "changes_when_casemapped")] #[cfg(feature = "compiled_data")] @@ -326,6 +347,7 @@ pub mod ffi { )) } + /// Create a set for the `Changes_When_Casemapped` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::ChangesWhenCasemapped, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "changes_when_casemapped_with_provider")] pub fn create_changes_when_casemapped_with_provider( @@ -338,6 +360,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Changes_When_Nfkc_Casefolded` property, using compiled data. #[diplomat::rust_link(icu::properties::props::ChangesWhenNfkcCasefolded, Struct)] #[diplomat::attr(auto, named_constructor = "changes_when_nfkc_casefolded")] #[cfg(feature = "compiled_data")] @@ -348,6 +371,7 @@ pub mod ffi { )) } + /// Create a set for the `Changes_When_Nfkc_Casefolded` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::ChangesWhenNfkcCasefolded, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "changes_when_nfkc_casefolded_with_provider")] pub fn create_changes_when_nfkc_casefolded_with_provider( @@ -360,6 +384,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Changes_When_Lowercased` property, using compiled data. #[diplomat::rust_link(icu::properties::props::ChangesWhenLowercased, Struct)] #[diplomat::attr(auto, named_constructor = "changes_when_lowercased")] #[cfg(feature = "compiled_data")] @@ -369,6 +394,7 @@ pub mod ffi { )) } + /// Create a set for the `Changes_When_Lowercased` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::ChangesWhenLowercased, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "changes_when_lowercased_with_provider")] pub fn create_changes_when_lowercased_with_provider( @@ -381,6 +407,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Changes_When_Titlecased` property, using compiled data. #[diplomat::rust_link(icu::properties::props::ChangesWhenTitlecased, Struct)] #[diplomat::attr(auto, named_constructor = "changes_when_titlecased")] #[cfg(feature = "compiled_data")] @@ -390,6 +417,7 @@ pub mod ffi { )) } + /// Create a set for the `Changes_When_Titlecased` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::ChangesWhenTitlecased, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "changes_when_titlecased_with_provider")] pub fn create_changes_when_titlecased_with_provider( @@ -402,6 +430,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Changes_When_Uppercased` property, using compiled data. #[diplomat::rust_link(icu::properties::props::ChangesWhenUppercased, Struct)] #[diplomat::attr(auto, named_constructor = "changes_when_uppercased")] #[cfg(feature = "compiled_data")] @@ -411,6 +440,7 @@ pub mod ffi { )) } + /// Create a set for the `Changes_When_Uppercased` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::ChangesWhenUppercased, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "changes_when_uppercased_with_provider")] pub fn create_changes_when_uppercased_with_provider( @@ -423,6 +453,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Dash` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Dash, Struct)] #[diplomat::attr(auto, named_constructor = "dash")] #[cfg(feature = "compiled_data")] @@ -432,6 +463,7 @@ pub mod ffi { )) } + /// Create a set for the `Dash` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Dash, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "dash_with_provider")] pub fn create_dash_with_provider( @@ -444,6 +476,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Deprecated` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Deprecated, Struct)] #[diplomat::attr(auto, named_constructor = "deprecated")] #[cfg(feature = "compiled_data")] @@ -453,6 +486,7 @@ pub mod ffi { )) } + /// Create a set for the `Deprecated` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Deprecated, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "deprecated_with_provider")] pub fn create_deprecated_with_provider( @@ -465,6 +499,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Default_Ignorable_Code_Point` property, using compiled data. #[diplomat::rust_link(icu::properties::props::DefaultIgnorableCodePoint, Struct)] #[diplomat::attr(auto, named_constructor = "default_ignorable_code_point")] #[cfg(feature = "compiled_data")] @@ -475,6 +510,7 @@ pub mod ffi { )) } + /// Create a set for the `Default_Ignorable_Code_Point` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::DefaultIgnorableCodePoint, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "default_ignorable_code_point_with_provider")] pub fn create_default_ignorable_code_point_with_provider( @@ -487,6 +523,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Diacritic` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Diacritic, Struct)] #[diplomat::attr(auto, named_constructor = "diacritic")] #[cfg(feature = "compiled_data")] @@ -496,6 +533,7 @@ pub mod ffi { )) } + /// Create a set for the `Diacritic` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Diacritic, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "diacritic_with_provider")] pub fn create_diacritic_with_provider( @@ -508,6 +546,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Emoji_Modifier_Base` property, using compiled data. #[diplomat::rust_link(icu::properties::props::EmojiModifierBase, Struct)] #[diplomat::attr(auto, named_constructor = "emoji_modifier_base")] #[cfg(feature = "compiled_data")] @@ -517,6 +556,7 @@ pub mod ffi { )) } + /// Create a set for the `Emoji_Modifier_Base` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::EmojiModifierBase, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "emoji_modifier_base_with_provider")] pub fn create_emoji_modifier_base_with_provider( @@ -529,6 +569,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Emoji_Component` property, using compiled data. #[diplomat::rust_link(icu::properties::props::EmojiComponent, Struct)] #[diplomat::attr(auto, named_constructor = "emoji_component")] #[cfg(feature = "compiled_data")] @@ -538,6 +579,7 @@ pub mod ffi { )) } + /// Create a set for the `Emoji_Component` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::EmojiComponent, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "emoji_component_with_provider")] pub fn create_emoji_component_with_provider( @@ -550,6 +592,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Emoji_Modifier` property, using compiled data. #[diplomat::rust_link(icu::properties::props::EmojiModifier, Struct)] #[diplomat::attr(auto, named_constructor = "emoji_modifier")] #[cfg(feature = "compiled_data")] @@ -559,6 +602,7 @@ pub mod ffi { )) } + /// Create a set for the `Emoji_Modifier` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::EmojiModifier, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "emoji_modifier_with_provider")] pub fn create_emoji_modifier_with_provider( @@ -571,6 +615,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Emoji` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Emoji, Struct)] #[diplomat::attr(auto, named_constructor = "emoji")] #[cfg(feature = "compiled_data")] @@ -580,6 +625,7 @@ pub mod ffi { )) } + /// Create a set for the `Emoji` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Emoji, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "emoji_with_provider")] pub fn create_emoji_with_provider( @@ -592,6 +638,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Emoji_Presentation` property, using compiled data. #[diplomat::rust_link(icu::properties::props::EmojiPresentation, Struct)] #[diplomat::attr(auto, named_constructor = "emoji_presentation")] #[cfg(feature = "compiled_data")] @@ -601,6 +648,7 @@ pub mod ffi { )) } + /// Create a set for the `Emoji_Presentation` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::EmojiPresentation, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "emoji_presentation_with_provider")] pub fn create_emoji_presentation_with_provider( @@ -613,6 +661,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Extender` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Extender, Struct)] #[diplomat::attr(auto, named_constructor = "extender")] #[cfg(feature = "compiled_data")] @@ -622,6 +671,7 @@ pub mod ffi { )) } + /// Create a set for the `Extender` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Extender, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "extender_with_provider")] pub fn create_extender_with_provider( @@ -634,6 +684,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Extended_Pictographic` property, using compiled data. #[diplomat::rust_link(icu::properties::props::ExtendedPictographic, Struct)] #[diplomat::attr(auto, named_constructor = "extended_pictographic")] #[cfg(feature = "compiled_data")] @@ -643,6 +694,7 @@ pub mod ffi { )) } + /// Create a set for the `Extended_Pictographic` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::ExtendedPictographic, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "extended_pictographic_with_provider")] pub fn create_extended_pictographic_with_provider( @@ -655,6 +707,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Graph` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Graph, Struct)] #[diplomat::attr(auto, named_constructor = "graph")] #[cfg(feature = "compiled_data")] @@ -664,6 +717,7 @@ pub mod ffi { )) } + /// Create a set for the `Graph` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Graph, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "graph_with_provider")] pub fn create_graph_with_provider( @@ -676,6 +730,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Grapheme_Base` property, using compiled data. #[diplomat::rust_link(icu::properties::props::GraphemeBase, Struct)] #[diplomat::attr(auto, named_constructor = "grapheme_base")] #[cfg(feature = "compiled_data")] @@ -685,6 +740,7 @@ pub mod ffi { )) } + /// Create a set for the `Grapheme_Base` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::GraphemeBase, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "grapheme_base_with_provider")] pub fn create_grapheme_base_with_provider( @@ -697,6 +753,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Grapheme_Extend` property, using compiled data. #[diplomat::rust_link(icu::properties::props::GraphemeExtend, Struct)] #[diplomat::attr(auto, named_constructor = "grapheme_extend")] #[cfg(feature = "compiled_data")] @@ -706,6 +763,7 @@ pub mod ffi { )) } + /// Create a set for the `Grapheme_Extend` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::GraphemeExtend, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "grapheme_extend_with_provider")] pub fn create_grapheme_extend_with_provider( @@ -718,6 +776,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Grapheme_Link` property, using compiled data. #[diplomat::rust_link(icu::properties::props::GraphemeLink, Struct)] #[diplomat::attr(auto, named_constructor = "grapheme_link")] #[cfg(feature = "compiled_data")] @@ -727,6 +786,7 @@ pub mod ffi { )) } + /// Create a set for the `Grapheme_Link` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::GraphemeLink, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "grapheme_link_with_provider")] pub fn create_grapheme_link_with_provider( @@ -739,6 +799,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Hex_Digit` property, using compiled data. #[diplomat::rust_link(icu::properties::props::HexDigit, Struct)] #[diplomat::attr(auto, named_constructor = "hex_digit")] #[cfg(feature = "compiled_data")] @@ -748,6 +809,7 @@ pub mod ffi { )) } + /// Create a set for the `Hex_Digit` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::HexDigit, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "hex_digit_with_provider")] pub fn create_hex_digit_with_provider( @@ -760,6 +822,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Hyphen` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Hyphen, Struct)] #[diplomat::attr(auto, named_constructor = "hyphen")] #[cfg(feature = "compiled_data")] @@ -769,6 +832,7 @@ pub mod ffi { )) } + /// Create a set for the `Hyphen` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Hyphen, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "hyphen_with_provider")] pub fn create_hyphen_with_provider( @@ -781,6 +845,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Id_Continue` property, using compiled data. #[diplomat::rust_link(icu::properties::props::IdContinue, Struct)] #[diplomat::attr(auto, named_constructor = "id_continue")] #[cfg(feature = "compiled_data")] @@ -790,6 +855,7 @@ pub mod ffi { )) } + /// Create a set for the `Id_Continue` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::IdContinue, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "id_continue_with_provider")] pub fn create_id_continue_with_provider( @@ -802,6 +868,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Ideographic` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Ideographic, Struct)] #[diplomat::attr(auto, named_constructor = "ideographic")] #[cfg(feature = "compiled_data")] @@ -811,6 +878,7 @@ pub mod ffi { )) } + /// Create a set for the `Ideographic` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Ideographic, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "ideographic_with_provider")] pub fn create_ideographic_with_provider( @@ -823,6 +891,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Id_Start` property, using compiled data. #[diplomat::rust_link(icu::properties::props::IdStart, Struct)] #[diplomat::attr(auto, named_constructor = "id_start")] #[cfg(feature = "compiled_data")] @@ -832,6 +901,7 @@ pub mod ffi { )) } + /// Create a set for the `Id_Start` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::IdStart, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "id_start_with_provider")] pub fn create_id_start_with_provider( @@ -844,6 +914,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Ids_Binary_Operator` property, using compiled data. #[diplomat::rust_link(icu::properties::props::IdsBinaryOperator, Struct)] #[diplomat::attr(auto, named_constructor = "ids_binary_operator")] #[cfg(feature = "compiled_data")] @@ -853,6 +924,7 @@ pub mod ffi { )) } + /// Create a set for the `Ids_Binary_Operator` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::IdsBinaryOperator, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "ids_binary_operator_with_provider")] pub fn create_ids_binary_operator_with_provider( @@ -865,6 +937,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Ids_Trinary_Operator` property, using compiled data. #[diplomat::rust_link(icu::properties::props::IdsTrinaryOperator, Struct)] #[diplomat::attr(auto, named_constructor = "ids_trinary_operator")] #[cfg(feature = "compiled_data")] @@ -874,6 +947,7 @@ pub mod ffi { )) } + /// Create a set for the `Ids_Trinary_Operator` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::IdsTrinaryOperator, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "ids_trinary_operator_with_provider")] pub fn create_ids_trinary_operator_with_provider( @@ -886,6 +960,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Join_Control` property, using compiled data. #[diplomat::rust_link(icu::properties::props::JoinControl, Struct)] #[diplomat::attr(auto, named_constructor = "join_control")] #[cfg(feature = "compiled_data")] @@ -895,6 +970,7 @@ pub mod ffi { )) } + /// Create a set for the `Join_Control` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::JoinControl, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "join_control_with_provider")] pub fn create_join_control_with_provider( @@ -907,6 +983,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Logical_Order_Exception` property, using compiled data. #[diplomat::rust_link(icu::properties::props::LogicalOrderException, Struct)] #[diplomat::attr(auto, named_constructor = "logical_order_exception")] #[cfg(feature = "compiled_data")] @@ -916,6 +993,7 @@ pub mod ffi { )) } + /// Create a set for the `Logical_Order_Exception` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::LogicalOrderException, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "logical_order_exception_with_provider")] pub fn create_logical_order_exception_with_provider( @@ -928,6 +1006,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Lowercase` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Lowercase, Struct)] #[diplomat::attr(auto, named_constructor = "lowercase")] #[cfg(feature = "compiled_data")] @@ -937,6 +1016,7 @@ pub mod ffi { )) } + /// Create a set for the `Lowercase` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Lowercase, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "lowercase_with_provider")] pub fn create_lowercase_with_provider( @@ -949,6 +1029,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Math` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Math, Struct)] #[diplomat::attr(auto, named_constructor = "math")] #[cfg(feature = "compiled_data")] @@ -958,6 +1039,7 @@ pub mod ffi { )) } + /// Create a set for the `Math` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Math, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "math_with_provider")] pub fn create_math_with_provider( @@ -970,6 +1052,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Noncharacter_Code_Point` property, using compiled data. #[diplomat::rust_link(icu::properties::props::NoncharacterCodePoint, Struct)] #[diplomat::attr(auto, named_constructor = "noncharacter_code_point")] #[cfg(feature = "compiled_data")] @@ -979,6 +1062,7 @@ pub mod ffi { )) } + /// Create a set for the `Noncharacter_Code_Point` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::NoncharacterCodePoint, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "noncharacter_code_point_with_provider")] pub fn create_noncharacter_code_point_with_provider( @@ -991,6 +1075,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Nfc_Inert` property, using compiled data. #[diplomat::rust_link(icu::properties::props::NfcInert, Struct)] #[diplomat::attr(auto, named_constructor = "nfc_inert")] #[cfg(feature = "compiled_data")] @@ -1000,6 +1085,7 @@ pub mod ffi { )) } + /// Create a set for the `Nfc_Inert` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::NfcInert, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "nfc_inert_with_provider")] pub fn create_nfc_inert_with_provider( @@ -1012,6 +1098,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Nfd_Inert` property, using compiled data. #[diplomat::rust_link(icu::properties::props::NfdInert, Struct)] #[diplomat::attr(auto, named_constructor = "nfd_inert")] #[cfg(feature = "compiled_data")] @@ -1021,6 +1108,7 @@ pub mod ffi { )) } + /// Create a set for the `Nfd_Inert` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::NfdInert, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "nfd_inert_with_provider")] pub fn create_nfd_inert_with_provider( @@ -1033,6 +1121,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Nfkc_Inert` property, using compiled data. #[diplomat::rust_link(icu::properties::props::NfkcInert, Struct)] #[diplomat::attr(auto, named_constructor = "nfkc_inert")] #[cfg(feature = "compiled_data")] @@ -1042,6 +1131,7 @@ pub mod ffi { )) } + /// Create a set for the `Nfkc_Inert` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::NfkcInert, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "nfkc_inert_with_provider")] pub fn create_nfkc_inert_with_provider( @@ -1054,6 +1144,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Nfkd_Inert` property, using compiled data. #[diplomat::rust_link(icu::properties::props::NfkdInert, Struct)] #[diplomat::attr(auto, named_constructor = "nfkd_inert")] #[cfg(feature = "compiled_data")] @@ -1063,6 +1154,7 @@ pub mod ffi { )) } + /// Create a set for the `Nfkd_Inert` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::NfkdInert, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "nfkd_inert_with_provider")] pub fn create_nfkd_inert_with_provider( @@ -1075,6 +1167,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Pattern_Syntax` property, using compiled data. #[diplomat::rust_link(icu::properties::props::PatternSyntax, Struct)] #[diplomat::attr(auto, named_constructor = "pattern_syntax")] #[cfg(feature = "compiled_data")] @@ -1084,6 +1177,7 @@ pub mod ffi { )) } + /// Create a set for the `Pattern_Syntax` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::PatternSyntax, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "pattern_syntax_with_provider")] pub fn create_pattern_syntax_with_provider( @@ -1096,6 +1190,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Pattern_White_Space` property, using compiled data. #[diplomat::rust_link(icu::properties::props::PatternWhiteSpace, Struct)] #[diplomat::attr(auto, named_constructor = "pattern_white_space")] #[cfg(feature = "compiled_data")] @@ -1105,6 +1200,7 @@ pub mod ffi { )) } + /// Create a set for the `Pattern_White_Space` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::PatternWhiteSpace, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "pattern_white_space_with_provider")] pub fn create_pattern_white_space_with_provider( @@ -1117,6 +1213,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Prepended_Concatenation_Mark` property, using compiled data. #[diplomat::rust_link(icu::properties::props::PrependedConcatenationMark, Struct)] #[diplomat::attr(auto, named_constructor = "prepended_concatenation_mark")] #[cfg(feature = "compiled_data")] @@ -1127,6 +1224,7 @@ pub mod ffi { )) } + /// Create a set for the `Prepended_Concatenation_Mark` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::PrependedConcatenationMark, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "prepended_concatenation_mark_with_provider")] pub fn create_prepended_concatenation_mark_with_provider( @@ -1139,6 +1237,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Print` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Print, Struct)] #[diplomat::attr(auto, named_constructor = "print")] #[cfg(feature = "compiled_data")] @@ -1148,6 +1247,7 @@ pub mod ffi { )) } + /// Create a set for the `Print` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Print, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "print_with_provider")] pub fn create_print_with_provider( @@ -1160,6 +1260,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Quotation_Mark` property, using compiled data. #[diplomat::rust_link(icu::properties::props::QuotationMark, Struct)] #[diplomat::attr(auto, named_constructor = "quotation_mark")] #[cfg(feature = "compiled_data")] @@ -1169,6 +1270,7 @@ pub mod ffi { )) } + /// Create a set for the `Quotation_Mark` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::QuotationMark, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "quotation_mark_with_provider")] pub fn create_quotation_mark_with_provider( @@ -1181,6 +1283,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Radical` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Radical, Struct)] #[diplomat::attr(auto, named_constructor = "radical")] #[cfg(feature = "compiled_data")] @@ -1190,6 +1293,7 @@ pub mod ffi { )) } + /// Create a set for the `Radical` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Radical, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "radical_with_provider")] pub fn create_radical_with_provider( @@ -1202,6 +1306,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Regional_Indicator` property, using compiled data. #[diplomat::rust_link(icu::properties::props::RegionalIndicator, Struct)] #[diplomat::attr(auto, named_constructor = "regional_indicator")] #[cfg(feature = "compiled_data")] @@ -1211,6 +1316,7 @@ pub mod ffi { )) } + /// Create a set for the `Regional_Indicator` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::RegionalIndicator, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "regional_indicator_with_provider")] pub fn create_regional_indicator_with_provider( @@ -1223,6 +1329,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Soft_Dotted` property, using compiled data. #[diplomat::rust_link(icu::properties::props::SoftDotted, Struct)] #[diplomat::attr(auto, named_constructor = "soft_dotted")] #[cfg(feature = "compiled_data")] @@ -1232,6 +1339,7 @@ pub mod ffi { )) } + /// Create a set for the `Soft_Dotted` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::SoftDotted, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "soft_dotted_with_provider")] pub fn create_soft_dotted_with_provider( @@ -1244,6 +1352,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Segment_Starter` property, using compiled data. #[diplomat::rust_link(icu::properties::props::SegmentStarter, Struct)] #[diplomat::attr(auto, named_constructor = "segment_starter")] #[cfg(feature = "compiled_data")] @@ -1253,6 +1362,7 @@ pub mod ffi { )) } + /// Create a set for the `Segment_Starter` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::SegmentStarter, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "segment_starter_with_provider")] pub fn create_segment_starter_with_provider( @@ -1265,6 +1375,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Case_Sensitive` property, using compiled data. #[diplomat::rust_link(icu::properties::props::CaseSensitive, Struct)] #[diplomat::attr(auto, named_constructor = "case_sensitive")] #[cfg(feature = "compiled_data")] @@ -1274,6 +1385,7 @@ pub mod ffi { )) } + /// Create a set for the `Case_Sensitive` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::CaseSensitive, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "case_sensitive_with_provider")] pub fn create_case_sensitive_with_provider( @@ -1286,6 +1398,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Sentence_Terminal` property, using compiled data. #[diplomat::rust_link(icu::properties::props::SentenceTerminal, Struct)] #[diplomat::attr(auto, named_constructor = "sentence_terminal")] #[cfg(feature = "compiled_data")] @@ -1295,6 +1408,7 @@ pub mod ffi { )) } + /// Create a set for the `Sentence_Terminal` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::SentenceTerminal, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "sentence_terminal_with_provider")] pub fn create_sentence_terminal_with_provider( @@ -1307,6 +1421,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Terminal_Punctuation` property, using compiled data. #[diplomat::rust_link(icu::properties::props::TerminalPunctuation, Struct)] #[diplomat::attr(auto, named_constructor = "terminal_punctuation")] #[cfg(feature = "compiled_data")] @@ -1316,6 +1431,7 @@ pub mod ffi { )) } + /// Create a set for the `Terminal_Punctuation` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::TerminalPunctuation, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "terminal_punctuation_with_provider")] pub fn create_terminal_punctuation_with_provider( @@ -1328,6 +1444,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Unified_Ideograph` property, using compiled data. #[diplomat::rust_link(icu::properties::props::UnifiedIdeograph, Struct)] #[diplomat::attr(auto, named_constructor = "unified_ideograph")] #[cfg(feature = "compiled_data")] @@ -1337,6 +1454,7 @@ pub mod ffi { )) } + /// Create a set for the `Unified_Ideograph` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::UnifiedIdeograph, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "unified_ideograph_with_provider")] pub fn create_unified_ideograph_with_provider( @@ -1349,6 +1467,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Uppercase` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Uppercase, Struct)] #[diplomat::attr(auto, named_constructor = "uppercase")] #[cfg(feature = "compiled_data")] @@ -1358,6 +1477,7 @@ pub mod ffi { )) } + /// Create a set for the `Uppercase` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Uppercase, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "uppercase_with_provider")] pub fn create_uppercase_with_provider( @@ -1370,6 +1490,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Variation_Selector` property, using compiled data. #[diplomat::rust_link(icu::properties::props::VariationSelector, Struct)] #[diplomat::attr(auto, named_constructor = "variation_selector")] #[cfg(feature = "compiled_data")] @@ -1379,6 +1500,7 @@ pub mod ffi { )) } + /// Create a set for the `Variation_Selector` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::VariationSelector, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "variation_selector_with_provider")] pub fn create_variation_selector_with_provider( @@ -1391,6 +1513,7 @@ pub mod ffi { )?))) } + /// Create a set for the `White_Space` property, using compiled data. #[diplomat::rust_link(icu::properties::props::WhiteSpace, Struct)] #[diplomat::attr(auto, named_constructor = "white_space")] #[cfg(feature = "compiled_data")] @@ -1400,6 +1523,7 @@ pub mod ffi { )) } + /// Create a set for the `White_Space` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::WhiteSpace, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "white_space_with_provider")] pub fn create_white_space_with_provider( @@ -1412,6 +1536,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Xdigit` property, using compiled data. #[diplomat::rust_link(icu::properties::props::Xdigit, Struct)] #[diplomat::attr(auto, named_constructor = "xdigit")] #[cfg(feature = "compiled_data")] @@ -1421,6 +1546,7 @@ pub mod ffi { )) } + /// Create a set for the `Xdigit` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::Xdigit, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "xdigit_with_provider")] pub fn create_xdigit_with_provider( @@ -1433,6 +1559,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Xid_Continue` property, using compiled data. #[diplomat::rust_link(icu::properties::props::XidContinue, Struct)] #[diplomat::attr(auto, named_constructor = "xid_continue")] #[cfg(feature = "compiled_data")] @@ -1442,6 +1569,7 @@ pub mod ffi { )) } + /// Create a set for the `Xid_Continue` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::XidContinue, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "xid_continue_with_provider")] pub fn create_xid_continue_with_provider( @@ -1454,6 +1582,7 @@ pub mod ffi { )?))) } + /// Create a set for the `Xid_Start` property, using compiled data. #[diplomat::rust_link(icu::properties::props::XidStart, Struct)] #[diplomat::attr(auto, named_constructor = "xid_start")] #[cfg(feature = "compiled_data")] @@ -1463,6 +1592,7 @@ pub mod ffi { )) } + /// Create a set for the `Xid_Start` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::XidStart, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "xid_start_with_provider")] pub fn create_xid_start_with_provider( diff --git a/ffi/capi/src/properties_unisets.rs b/ffi/capi/src/properties_unisets.rs index 70a876ab48c..c3d4a19f242 100644 --- a/ffi/capi/src/properties_unisets.rs +++ b/ffi/capi/src/properties_unisets.rs @@ -41,6 +41,7 @@ pub mod ffi { self.0.as_borrowed().contains32(cp) } + /// Create a map for the `Basic_Emoji` property, using compiled data. #[diplomat::rust_link(icu::properties::props::BasicEmoji, Struct)] #[diplomat::attr(auto, named_constructor = "basic")] #[cfg(feature = "compiled_data")] @@ -49,7 +50,7 @@ pub mod ffi { icu_properties::EmojiSetData::new::().static_to_owned(), )) } - + /// Create a map for the `Basic_Emoji` property, using a particular data source. #[diplomat::rust_link(icu::properties::props::BasicEmoji, Struct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "basic_with_provider")] pub fn create_basic_with_provider( diff --git a/ffi/capi/src/script.rs b/ffi/capi/src/script.rs index 2f6a6e40c0b..6aa3d3b9bda 100644 --- a/ffi/capi/src/script.rs +++ b/ffi/capi/src/script.rs @@ -30,6 +30,7 @@ pub mod ffi { pub struct ScriptExtensionsSet<'a>(pub icu_properties::script::ScriptExtensionsSet<'a>); impl ScriptWithExtensions { + /// Create a map for the `Script`/`Script_Extensions` properties, using compiled data. #[diplomat::rust_link(icu::properties::script::ScriptWithExtensions::new, FnInStruct)] #[diplomat::rust_link( icu::properties::script::ScriptWithExtensionsBorrowed::new, @@ -44,6 +45,7 @@ pub mod ffi { )) } + /// Create a map for the `Script`/`Script_Extensions` properties, using compiled data. #[diplomat::rust_link(icu::properties::script::ScriptWithExtensions::new, FnInStruct)] #[diplomat::rust_link( icu::properties::script::ScriptWithExtensionsBorrowed::new, diff --git a/ffi/capi/src/segmenter_line.rs b/ffi/capi/src/segmenter_line.rs index 75d42a19284..e28bf13229d 100644 --- a/ffi/capi/src/segmenter_line.rs +++ b/ffi/capi/src/segmenter_line.rs @@ -65,7 +65,7 @@ pub mod ffi { pub struct LineBreakIteratorLatin1<'a>(icu_segmenter::LineBreakIteratorLatin1<'a, 'a>); impl LineSegmenter { - /// Construct a [`LineSegmenter`] with default options. It automatically loads the best + /// Construct a [`LineSegmenter`] with default options using compiled data. It automatically loads the best /// available payload data for Burmese, Khmer, Lao, and Thai. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_auto, FnInStruct)] #[diplomat::attr(auto, named_constructor = "auto")] @@ -73,7 +73,7 @@ pub mod ffi { pub fn create_auto() -> Box { Box::new(LineSegmenter(icu_segmenter::LineSegmenter::new_auto())) } - /// Construct a [`LineSegmenter`] with default options. It automatically loads the best + /// Construct a [`LineSegmenter`] with default options using a particular data source. It automatically loads the best /// available payload data for Burmese, Khmer, Lao, and Thai. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_auto, FnInStruct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "auto_with_provider")] @@ -88,7 +88,7 @@ pub mod ffi { )?))) } /// Construct a [`LineSegmenter`] with default options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using compiled data. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_lstm, FnInStruct)] #[diplomat::attr(auto, named_constructor = "lstm")] #[cfg(feature = "compiled_data")] @@ -96,7 +96,7 @@ pub mod ffi { Box::new(LineSegmenter(icu_segmenter::LineSegmenter::new_lstm())) } /// Construct a [`LineSegmenter`] with default options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_lstm, FnInStruct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "lstm_with_provider")] pub fn create_lstm_with_provider( @@ -110,7 +110,7 @@ pub mod ffi { )?))) } /// Construct a [`LineSegmenter`] with default options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai.. + /// Burmese, Khmer, Lao, and Thai, using compiled data #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_dictionary, FnInStruct)] #[diplomat::attr(auto, named_constructor = "dictionary")] #[cfg(feature = "compiled_data")] @@ -118,7 +118,7 @@ pub mod ffi { Box::new(LineSegmenter(icu_segmenter::LineSegmenter::new_dictionary())) } /// Construct a [`LineSegmenter`] with default options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai.. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_dictionary, FnInStruct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "dictionary_with_provider")] pub fn create_dictionary_with_provider( @@ -131,7 +131,7 @@ pub mod ffi { provider, )?))) } - /// Construct a [`LineSegmenter`] with custom options. It automatically loads the best + /// Construct a [`LineSegmenter`] with custom options using compiled data. It automatically loads the best /// available payload data for Burmese, Khmer, Lao, and Thai. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_auto_with_options, FnInStruct)] #[diplomat::attr(supports = non_exhaustive_structs, rename = "auto_with_options")] @@ -150,7 +150,7 @@ pub mod ffi { )) } /// Construct a [`LineSegmenter`] with custom options. It automatically loads the best - /// available payload data for Burmese, Khmer, Lao, and Thai. + /// available payload data for Burmese, Khmer, Lao, and Thai, using a particular data source. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_auto_with_options, FnInStruct)] #[diplomat::attr(supports = non_exhaustive_structs, rename = "auto_with_options_and_provider")] #[diplomat::attr(all(supports = non_exhaustive_structs, supports = fallible_constructors), named_constructor = "auto_with_options_and_provider")] @@ -172,7 +172,7 @@ pub mod ffi { )?))) } /// Construct a [`LineSegmenter`] with custom options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using compiled data. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_lstm_with_options, FnInStruct)] #[diplomat::attr(supports = non_exhaustive_structs, rename = "lstm_with_options")] #[diplomat::attr(all(supports = non_exhaustive_structs, supports = named_constructors), named_constructor = "lstm_with_options")] @@ -190,7 +190,7 @@ pub mod ffi { )) } /// Construct a [`LineSegmenter`] with custom options and LSTM payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. #[diplomat::rust_link(icu::segmenter::LineSegmenter::new_lstm_with_options, FnInStruct)] #[diplomat::attr(supports = non_exhaustive_structs, rename = "lstm_with_options_and_provider")] #[diplomat::attr(all(supports = non_exhaustive_structs, supports = fallible_constructors), named_constructor = "lstm_with_options_and_provider")] @@ -212,7 +212,7 @@ pub mod ffi { )?))) } /// Construct a [`LineSegmenter`] with custom options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using compiled data. #[diplomat::rust_link( icu::segmenter::LineSegmenter::new_dictionary_with_options, FnInStruct @@ -233,7 +233,7 @@ pub mod ffi { )) } /// Construct a [`LineSegmenter`] with custom options and dictionary payload data for - /// Burmese, Khmer, Lao, and Thai. + /// Burmese, Khmer, Lao, and Thai, using a particular data source. #[diplomat::rust_link( icu::segmenter::LineSegmenter::new_dictionary_with_options, FnInStruct diff --git a/ffi/capi/src/timezone_mapper.rs b/ffi/capi/src/timezone_mapper.rs index 59d1977282e..921578d831a 100644 --- a/ffi/capi/src/timezone_mapper.rs +++ b/ffi/capi/src/timezone_mapper.rs @@ -27,6 +27,7 @@ pub mod ffi { pub struct TimeZoneIdMapper(pub icu_timezone::TimeZoneIdMapper); impl TimeZoneIdMapper { + /// Create a new [`TimeZoneIdMapper`] using compiled data #[diplomat::rust_link(icu::timezone::TimeZoneIdMapper::new, FnInStruct)] #[diplomat::attr(auto, constructor)] #[cfg(feature = "compiled_data")] @@ -36,6 +37,7 @@ pub mod ffi { )) } + /// Create a new [`TimeZoneIdMapper`] using a particular data source #[diplomat::rust_link(icu::timezone::TimeZoneIdMapper::new, FnInStruct)] #[diplomat::attr(supports = fallible_constructors, named_constructor = "with_provider")] pub fn create_with_provider( @@ -141,6 +143,7 @@ pub mod ffi { ); impl TimeZoneIdMapperWithFastCanonicalization { + /// Create a new [`TimeZoneIdMapperWithFastCanonicalization`] using compiled data #[diplomat::rust_link( icu::timezone::TimeZoneIdMapperWithFastCanonicalization::new, FnInStruct @@ -156,7 +159,7 @@ pub mod ffi { icu_timezone::TimeZoneIdMapperWithFastCanonicalization::new().static_to_owned(), )) } - + /// Create a new [`TimeZoneIdMapperWithFastCanonicalization`] using a particular data source #[diplomat::rust_link( icu::timezone::TimeZoneIdMapperWithFastCanonicalization::new, FnInStruct diff --git a/ffi/capi/src/units_converter.rs b/ffi/capi/src/units_converter.rs index 99adceef35d..626e67a754e 100644 --- a/ffi/capi/src/units_converter.rs +++ b/ffi/capi/src/units_converter.rs @@ -21,7 +21,7 @@ pub mod ffi { ); impl UnitsConverterFactory { - /// Construct a new [`UnitsConverterFactory`] instance. + /// Construct a new [`UnitsConverterFactory`] instance using compiled data. #[diplomat::rust_link( icu::experimental::units::converter_factory::ConverterFactory::new, FnInStruct @@ -33,7 +33,7 @@ pub mod ffi { icu_experimental::units::converter_factory::ConverterFactory::new(), )) } - /// Construct a new [`UnitsConverterFactory`] instance. + /// Construct a new [`UnitsConverterFactory`] instance using a particular data source. #[diplomat::rust_link( icu::experimental::units::converter_factory::ConverterFactory::new, FnInStruct