// @generated /// Implement `DataProvider` on the given struct using the data /// hardcoded in this file. This allows the struct to be used with /// `icu`'s `_unstable` constructors. /// /// Using this implementation will embed the following data in the binary's data segment: /// * 207B for the lookup data structure (27 data identifiers) /// * 1080B[^1] for the actual data (27 unique structs) /// /// [^1]: these numbers can be smaller in practice due to linker deduplication #[doc(hidden)] #[macro_export] macro_rules! __impl_decimal_digits_v1_marker { ($ provider : ty) => { #[clippy::msrv = "1.71.1"] const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO; #[clippy::msrv = "1.71.1"] impl $provider { const DATA_DECIMAL_DIGITS_V1_MARKER: icu_provider_baked::zerotrie::Data = icu_provider_baked::zerotrie::Data { trie: icu_provider_baked::zerotrie::ZeroTrieSimpleAscii { store: b"und\x1E\xCEabcdghjklmnotv\x0E\x12\x16\x1A#04>G^co\x8A\xC2dr\x03lm\x80ab\x81ext\x82eng\x83akm\x84eva\x85u\xC2jr\x02r\x86u\x87\xC2am\x06nidec\x88np\x89ava\x8A\xC2hn\x03mr\x8Bda\x8Ca\xC2ot\x02o\x8Dn\x8E\xC4loty\x03\x07\x0Bym\x8Fng\x90\0ei\x90\x01mr\x90\x02koo\x90\x03\xC2lr\x04ck\x90\x04ya\x90\x05\xC4aehi\x07\x0B\x0Fmldec\x90\x06lu\x90\x07ai\x90\x08bt\x90\taii\x90\n" }, values: &[icu::decimal::provider::DecimalDigitsV1 { digits: ['𞥐', '𞥑', '𞥒', '𞥓', '𞥔', '𞥕', '𞥖', '𞥗', '𞥘', '𞥙'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['০', '১', '২', '৩', '৪', '৫', '৬', '৭', '৮', '৯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['𑄶', '𑄷', '𑄸', '𑄹', '𑄺', '𑄻', '𑄼', '𑄽', '𑄾', '𑄿'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['०', '१', '२', '३', '४', '५', '६', '७', '८', '९'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['૦', '૧', '૨', '૩', '૪', '૫', '૬', '૭', '૮', '૯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['੦', '੧', '੨', '੩', '੪', '੫', '੬', '੭', '੮', '੯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['𞅀', '𞅁', '𞅂', '𞅃', '𞅄', '𞅅', '𞅆', '𞅇', '𞅈', '𞅉'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['꧐', '꧑', '꧒', '꧓', '꧔', '꧕', '꧖', '꧗', '꧘', '꧙'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['០', '១', '២', '៣', '៤', '៥', '៦', '៧', '៨', '៩'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['೦', '೧', '೨', '೩', '೪', '೫', '೬', '೭', '೮', '೯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['໐', '໑', '໒', '໓', '໔', '໕', '໖', '໗', '໘', '໙'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['൦', '൧', '൨', '൩', '൪', '൫', '൬', '൭', '൮', '൯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['᠐', '᠑', '᠒', '᠓', '᠔', '᠕', '᠖', '᠗', '᠘', '᠙'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['꯰', '꯱', '꯲', '꯳', '꯴', '꯵', '꯶', '꯷', '꯸', '꯹'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['၀', '၁', '၂', '၃', '၄', '၅', '၆', '၇', '၈', '၉'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['߀', '߁', '߂', '߃', '߄', '߅', '߆', '߇', '߈', '߉'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['᱐', '᱑', '᱒', '᱓', '᱔', '᱕', '᱖', '᱗', '᱘', '᱙'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['୦', '୧', '୨', '୩', '୪', '୫', '୬', '୭', '୮', '୯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['௦', '௧', '௨', '௩', '௪', '௫', '௬', '௭', '௮', '௯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['౦', '౧', '౨', '౩', '౪', '౫', '౬', '౭', '౮', '౯'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['๐', '๑', '๒', '๓', '๔', '๕', '๖', '๗', '๘', '๙'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['༠', '༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩'] }, icu::decimal::provider::DecimalDigitsV1 { digits: ['꘠', '꘡', '꘢', '꘣', '꘤', '꘥', '꘦', '꘧', '꘨', '꘩'] }] }; } #[clippy::msrv = "1.71.1"] impl icu_provider::DataProvider for $provider { fn load(&self, req: icu_provider::DataRequest) -> Result, icu_provider::DataError> { let metadata = Default::default(); let Some(payload) = icu_provider_baked::DataStore::get(&Self::DATA_DECIMAL_DIGITS_V1_MARKER, req.id, req.metadata.attributes_prefix_match) else { return Err(icu_provider::DataErrorKind::IdentifierNotFound.with_req(::INFO, req)) }; Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(payload), metadata }) } } }; ($ provider : ty , ITER) => { __impl_decimal_digits_v1_marker!($provider); #[clippy::msrv = "1.71.1"] impl icu_provider::IterableDataProvider for $provider { fn iter_ids(&self) -> Result>, icu_provider::DataError> { Ok(icu_provider_baked::DataStore::iter(&Self::DATA_DECIMAL_DIGITS_V1_MARKER).collect()) } } }; ($ provider : ty , DRY) => {}; ($ provider : ty , DRY , ITER) => { __impl_decimal_digits_v1_marker!($provider, ITER); }; } #[doc(inline)] pub use __impl_decimal_digits_v1_marker as impl_decimal_digits_v1_marker;