icu_properties_data 2.2.0

Data for the icu_properties crate
Documentation
// @generated
/// Implement `DataProvider<PropertyBinaryIdCompatMathContinueV1>` 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:
/// * 140B[^1] for the singleton data struct
///
/// [^1]: these numbers can be smaller in practice due to linker deduplication
///
/// This macro requires the following crates:
/// * `icu`
/// * `icu_provider`
/// * `zerovec`
#[doc(hidden)]
#[macro_export]
macro_rules! __impl_property_binary_id_compat_math_continue_v1 {
    ($ provider : ty) => {
        #[clippy::msrv = "1.86"]
        const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
        #[clippy::msrv = "1.86"]
        impl $provider {
            #[doc(hidden)]
            pub const SINGLETON_PROPERTY_BINARY_ID_COMPAT_MATH_CONTINUE_V1: &'static <icu::properties::provider::PropertyBinaryIdCompatMathContinueV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::PropertyCodePointSet::InversionList(unsafe {
                #[allow(unused_unsafe)]
                icu::collections::codepointinvlist::CodePointInversionList::from_parts_unchecked(unsafe { zerovec::ZeroVec::from_bytes_unchecked(b"\xB2\0\0\xB4\0\0\xB9\0\0\xBA\0\0p \0q \0t \0\x7F \0\x80 \0\x8F \0\x02\"\0\x03\"\0\x07\"\0\x08\"\0\x1E\"\0\x1F\"\0\xC1\xD6\x01\xC2\xD6\x01\xDB\xD6\x01\xDC\xD6\x01\xFB\xD6\x01\xFC\xD6\x01\x15\xD7\x01\x16\xD7\x015\xD7\x016\xD7\x01O\xD7\x01P\xD7\x01o\xD7\x01p\xD7\x01\x89\xD7\x01\x8A\xD7\x01\xA9\xD7\x01\xAA\xD7\x01\xC3\xD7\x01\xC4\xD7\x01") }, 43u32)
            });
        }
        #[clippy::msrv = "1.86"]
        impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1> for $provider {
            fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1>, icu_provider::DataError> {
                if req.id.locale.is_unknown() {
                    Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_ID_COMPAT_MATH_CONTINUE_V1), metadata: icu_provider::DataResponseMetadata::default() })
                } else {
                    Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1 as icu_provider::DataMarker>::INFO, req))
                }
            }
        }
    };
    ($ provider : ty , ITER) => {
        __impl_property_binary_id_compat_math_continue_v1!($provider);
        #[clippy::msrv = "1.86"]
        impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1> for $provider {
            fn iter_ids(&self) -> Result<std::collections::BtreeSet<icu_provider::DataIdentifierCow<'static>>, icu_provider::DataError> {
                Ok([Default::default()].into_iter().collect())
            }
        }
    };
    ($ provider : ty , DRY) => {
        __impl_property_binary_id_compat_math_continue_v1!($provider);
        #[clippy::msrv = "1.86"]
        impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1> for $provider {
            fn dry_load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponseMetadata, icu_provider::DataError> {
                if req.id.locale.is_unknown() {
                    Ok(icu_provider::DataResponseMetadata::default())
                } else {
                    Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1 as icu_provider::DataMarker>::INFO, req))
                }
            }
        }
    };
    ($ provider : ty , DRY , ITER) => {
        __impl_property_binary_id_compat_math_continue_v1!($provider);
        #[clippy::msrv = "1.86"]
        impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1> for $provider {
            fn dry_load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponseMetadata, icu_provider::DataError> {
                if req.id.locale.is_unknown() {
                    Ok(icu_provider::DataResponseMetadata::default())
                } else {
                    Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1 as icu_provider::DataMarker>::INFO, req))
                }
            }
        }
        #[clippy::msrv = "1.86"]
        impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathContinueV1> for $provider {
            fn iter_ids(&self) -> Result<std::collections::BtreeSet<icu_provider::DataIdentifierCow<'static>>, icu_provider::DataError> {
                Ok([Default::default()].into_iter().collect())
            }
        }
    };
}
#[doc(inline)]
pub use __impl_property_binary_id_compat_math_continue_v1 as impl_property_binary_id_compat_math_continue_v1;