// @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: /// * 1316B[^1] for the singleton data struct /// /// [^1]: these numbers can be smaller in practice due to linker deduplication #[doc(hidden)] #[macro_export] macro_rules! __impl_diacritic_v1_marker { ($ provider : ty) => { #[clippy::msrv = "1.71.1"] const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO; #[clippy::msrv = "1.71.1"] impl $provider { #[doc(hidden)] pub const SINGLETON_DIACRITIC_V1_MARKER: &'static ::DataStruct = &icu::properties::provider::PropertyCodePointSetV1::InversionList(unsafe { #[allow(unused_unsafe)] icu::collections::codepointinvlist::CodePointInversionList::from_parts_unchecked(unsafe { zerovec::ZeroVec::from_bytes_unchecked(b"^\0\0_\0\0`\0\0a\0\0\xA8\0\0\xA9\0\0\xAF\0\0\xB0\0\0\xB4\0\0\xB5\0\0\xB7\0\0\xB9\0\0\xB0\x02\0O\x03\0P\x03\0X\x03\0]\x03\0c\x03\0t\x03\0v\x03\0z\x03\0{\x03\0\x84\x03\0\x86\x03\0\x83\x04\0\x88\x04\0Y\x05\0Z\x05\0\x91\x05\0\xA2\x05\0\xA3\x05\0\xBE\x05\0\xBF\x05\0\xC0\x05\0\xC1\x05\0\xC3\x05\0\xC4\x05\0\xC5\x05\0K\x06\0S\x06\0W\x06\0Y\x06\0\xDF\x06\0\xE1\x06\0\xE5\x06\0\xE7\x06\0\xEA\x06\0\xED\x06\x000\x07\0K\x07\0\xA6\x07\0\xB1\x07\0\xEB\x07\0\xF6\x07\0\x18\x08\0\x1A\x08\0\x98\x08\0\xA0\x08\0\xC9\x08\0\xD3\x08\0\xE3\x08\0\xFF\x08\0<\t\0=\t\0M\t\0N\t\0Q\t\0U\t\0q\t\0r\t\0\xBC\t\0\xBD\t\0\xCD\t\0\xCE\t\0<\n\0=\n\0M\n\0N\n\0\xBC\n\0\xBD\n\0\xCD\n\0\xCE\n\0\x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FD\x1F\0\xFF\x1F\0\xEF,\0\xF2,\0/.\x000.\0*0\x0000\0\x990\0\x9D0\0\xFC0\0\xFD0\0o\xA6\0p\xA6\0|\xA6\0~\xA6\0\x7F\xA6\0\x80\xA6\0\x9C\xA6\0\x9E\xA6\0\xF0\xA6\0\xF2\xA6\0\0\xA7\0\"\xA7\0\x88\xA7\0\x8B\xA7\0\xF8\xA7\0\xFA\xA7\0\x06\xA8\0\x07\xA8\0,\xA8\0-\xA8\0\xC4\xA8\0\xC5\xA8\0\xE0\xA8\0\xF2\xA8\0+\xA9\0/\xA9\0S\xA9\0T\xA9\0\xB3\xA9\0\xB4\xA9\0\xC0\xA9\0\xC1\xA9\0\xE5\xA9\0\xE6\xA9\0{\xAA\0~\xAA\0\xBF\xAA\0\xC3\xAA\0\xF6\xAA\0\xF7\xAA\0[\xAB\0`\xAB\0i\xAB\0l\xAB\0\xEC\xAB\0\xEE\xAB\0\x1E\xFB\0\x1F\xFB\0 \xFE\x000\xFE\0>\xFF\0?\xFF\0@\xFF\0A\xFF\0p\xFF\0q\xFF\0\x9E\xFF\0\xA0\xFF\0\xE3\xFF\0\xE4\xFF\0\xE0\x02\x01\xE1\x02\x01\x80\x07\x01\x86\x07\x01\x87\x07\x01\xB1\x07\x01\xB2\x07\x01\xBB\x07\x018\n\x01;\n\x01?\n\x01@\n\x01\xE5\n\x01\xE7\n\x01\"\r\x01(\r\x01N\r\x01O\r\x01i\r\x01n\r\x01\xFD\x0E\x01\0\x0F\x01F\x0F\x01Q\x0F\x01\x82\x0F\x01\x86\x0F\x01F\x10\x01G\x10\x01p\x10\x01q\x10\x01\xB9\x10\x01\xBB\x10\x013\x11\x015\x11\x01s\x11\x01t\x11\x01\xC0\x11\x01\xC1\x11\x01\xCA\x11\x01\xCD\x11\x015\x12\x017\x12\x01\xE9\x12\x01\xEB\x12\x01;\x13\x01=\x13\x01M\x13\x01N\x13\x01f\x13\x01m\x13\x01p\x13\x01u\x13\x01\xCE\x13\x01\xD1\x13\x01\xD2\x13\x01\xD4\x13\x01\xE1\x13\x01\xE3\x13\x01B\x14\x01C\x14\x01F\x14\x01G\x14\x01\xC2\x14\x01\xC4\x14\x01\xBF\x15\x01\xC1\x15\x01?\x16\x01@\x16\x01\xB6\x16\x01\xB8\x16\x01+\x17\x01,\x17\x019\x18\x01;\x18\x01=\x19\x01?\x19\x01C\x19\x01D\x19\x01\xE0\x19\x01\xE1\x19\x014\x1A\x015\x1A\x01G\x1A\x01H\x1A\x01\x99\x1A\x01\x9A\x1A\x01?\x1C\x01@\x1C\x01B\x1D\x01C\x1D\x01D\x1D\x01F\x1D\x01\x97\x1D\x01\x98\x1D\x01A\x1F\x01C\x1F\x01Z\x1F\x01[\x1F\x01G4\x01V4\x01/a\x010a\x01\xF0j\x01\xF5j\x010k\x017k\x01km\x01mm\x01\x8Fo\x01\xA0o\x01\xF0o\x01\xF2o\x01\xF0\xAF\x01\xF4\xAF\x01\xF5\xAF\x01\xFC\xAF\x01\xFD\xAF\x01\xFF\xAF\x01\0\xCF\x01.\xCF\x010\xCF\x01G\xCF\x01g\xD1\x01j\xD1\x01m\xD1\x01s\xD1\x01{\xD1\x01\x83\xD1\x01\x85\xD1\x01\x8C\xD1\x01\xAA\xD1\x01\xAE\xD1\x010\xE0\x01n\xE0\x010\xE1\x017\xE1\x01\xAE\xE2\x01\xAF\xE2\x01\xEC\xE2\x01\xF0\xE2\x01\xEE\xE5\x01\xF0\xE5\x01\xD0\xE8\x01\xD7\xE8\x01D\xE9\x01G\xE9\x01H\xE9\x01K\xE9\x01") }, 1178u32) }); } #[clippy::msrv = "1.71.1"] impl icu_provider::DataProvider for $provider { fn load(&self, req: icu_provider::DataRequest) -> Result, icu_provider::DataError> { if req.id.locale.is_default() { Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_DIACRITIC_V1_MARKER), metadata: Default::default() }) } else { Err(icu_provider::DataErrorKind::InvalidRequest.with_req(::INFO, req)) } } } }; ($ provider : ty , ITER) => { __impl_diacritic_v1_marker!($provider); #[clippy::msrv = "1.71.1"] impl icu_provider::IterableDataProvider for $provider { fn iter_ids(&self) -> Result>, icu_provider::DataError> { Ok([Default::default()].into_iter().collect()) } } }; ($ provider : ty , DRY) => { __impl_diacritic_v1_marker!($provider); #[clippy::msrv = "1.71.1"] impl icu_provider::DryDataProvider for $provider { fn dry_load(&self, req: icu_provider::DataRequest) -> Result { if req.id.locale.is_default() { Ok(Default::default()) } else { Err(icu_provider::DataErrorKind::InvalidRequest.with_req(::INFO, req)) } } } }; ($ provider : ty , DRY , ITER) => { __impl_diacritic_v1_marker!($provider); #[clippy::msrv = "1.71.1"] impl icu_provider::DryDataProvider for $provider { fn dry_load(&self, req: icu_provider::DataRequest) -> Result { if req.id.locale.is_default() { Ok(Default::default()) } else { Err(icu_provider::DataErrorKind::InvalidRequest.with_req(::INFO, req)) } } } #[clippy::msrv = "1.71.1"] impl icu_provider::IterableDataProvider for $provider { fn iter_ids(&self) -> Result>, icu_provider::DataError> { Ok([Default::default()].into_iter().collect()) } } }; } #[doc(inline)] pub use __impl_diacritic_v1_marker as impl_diacritic_v1_marker;