chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
{
"git": {
"sha1": "323738440f7ff810b8130b7881322466015f7fec"
},
"path_in_vcs": "provider/data/properties"
}

7
vendor/icu_properties_data/Cargo.lock generated vendored Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "icu_properties_data"
version = "2.1.2"

60
vendor/icu_properties_data/Cargo.toml vendored Normal file
View File

@@ -0,0 +1,60 @@
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.83"
name = "icu_properties_data"
version = "2.1.2"
authors = ["The ICU4X Project Developers"]
build = "build.rs"
include = [
"data/**/*",
"src/**/*",
"examples/**/*",
"benches/**/*",
"tests/**/*",
"Cargo.toml",
"LICENSE",
"README.md",
"build.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data for the icu_properties crate"
homepage = "https://icu4x.unicode.org"
readme = "README.md"
categories = ["internationalization"]
license = "Unicode-3.0"
repository = "https://github.com/unicode-org/icu4x"
[package.metadata.sources.cldr]
tagged = "48.0.0"
[package.metadata.sources.icuexport]
tagged = "release-78.1rc"
[package.metadata.sources.segmenter_lstm]
tagged = "v0.1.0"
[lib]
name = "icu_properties_data"
path = "src/lib.rs"
[dependencies]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(icu4x_custom_data)"]

46
vendor/icu_properties_data/LICENSE vendored Normal file
View File

@@ -0,0 +1,46 @@
UNICODE LICENSE V3
COPYRIGHT AND PERMISSION NOTICE
Copyright © 2020-2024 Unicode, Inc.
NOTICE TO USER: Carefully read the following legal agreement. BY
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a
copy of data files and any associated documentation (the "Data Files") or
software and any associated documentation (the "Software") to deal in the
Data Files or Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, and/or sell
copies of the Data Files or Software, and to permit persons to whom the
Data Files or Software are furnished to do so, provided that either (a)
this copyright and permission notice appear with all copies of the Data
Files or Software, or (b) this copyright and permission notice appear in
associated Documentation.
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
THIRD PARTY RIGHTS.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
FILES OR SOFTWARE.
Except as contained in this notice, the name of a copyright holder shall
not be used in advertising or otherwise to promote the sale, use or other
dealings in these Data Files or Software without prior written
authorization of the copyright holder.
SPDX-License-Identifier: Unicode-3.0
Portions of ICU4X may have been adapted from ICU4C and/or ICU4J.
ICU 1.8.1 to ICU 57.1 © 1995-2016 International Business Machines Corporation and others.

14
vendor/icu_properties_data/README.md vendored Normal file
View File

@@ -0,0 +1,14 @@
# icu_properties_data [![crates.io](https://img.shields.io/crates/v/icu_properties_data)](https://crates.io/crates/icu_properties_data)
<!-- cargo-rdme start -->
Data for the `icu_properties` crate
This data was generated with CLDR version 48.0.0, ICU version release-78.1rc, and
LSTM segmenter version v0.1.0.
<!-- cargo-rdme end -->
## More Information
For more information on development, authorship, contributing etc. please visit [`ICU4X home page`](https://github.com/unicode-org/icu4x).

11
vendor/icu_properties_data/build.rs vendored Normal file
View File

@@ -0,0 +1,11 @@
// This file is part of ICU4X. For terms of use, please see the file
// called LICENSE at the top level of the ICU4X source tree
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
fn main() {
if std::env::var("ICU4X_DATA_DIR").is_ok() {
println!("cargo:rustc-cfg=icu4x_custom_data");
}
println!("cargo:rerun-if-env-changed=ICU4X_DATA_DIR");
println!("cargo:rustc-check-cfg=cfg(icu4c_enable_renaming)");
}

295
vendor/icu_properties_data/data/mod.rs vendored Normal file
View File

@@ -0,0 +1,295 @@
// @generated
include!("property_enum_indic_syllabic_category_v1.rs.data");
include!("property_binary_pattern_syntax_v1.rs.data");
include!("property_binary_changes_when_lowercased_v1.rs.data");
include!("property_binary_ids_trinary_operator_v1.rs.data");
include!("property_binary_regional_indicator_v1.rs.data");
include!("property_binary_changes_when_uppercased_v1.rs.data");
include!("property_binary_changes_when_casemapped_v1.rs.data");
include!("property_enum_script_v1.rs.data");
include!("property_name_short_indic_syllabic_category_v1.rs.data");
include!("property_binary_ids_binary_operator_v1.rs.data");
include!("property_binary_radical_v1.rs.data");
include!("property_binary_extender_v1.rs.data");
include!("property_name_long_indic_syllabic_category_v1.rs.data");
include!("property_binary_emoji_component_v1.rs.data");
include!("property_binary_id_compat_math_continue_v1.rs.data");
include!("property_binary_dash_v1.rs.data");
include!("property_enum_general_category_v1.rs.data");
include!("property_name_long_grapheme_cluster_break_v1.rs.data");
include!("property_binary_emoji_presentation_v1.rs.data");
include!("property_binary_case_sensitive_v1.rs.data");
include!("property_name_short_bidi_class_v1.rs.data");
include!("property_binary_nfd_inert_v1.rs.data");
include!("property_binary_graph_v1.rs.data");
include!("property_binary_bidi_control_v1.rs.data");
include!("property_name_short_hangul_syllable_type_v1.rs.data");
include!("property_name_short_word_break_v1.rs.data");
include!("property_name_parse_line_break_v1.rs.data");
include!("property_binary_white_space_v1.rs.data");
include!("property_binary_unified_ideograph_v1.rs.data");
include!("property_binary_noncharacter_code_point_v1.rs.data");
include!("property_name_short_grapheme_cluster_break_v1.rs.data");
include!("property_name_parse_indic_syllabic_category_v1.rs.data");
include!("property_name_parse_east_asian_width_v1.rs.data");
include!("property_script_with_extensions_v1.rs.data");
include!("property_name_long_hangul_syllable_type_v1.rs.data");
include!("property_binary_emoji_v1.rs.data");
include!("property_name_long_line_break_v1.rs.data");
include!("property_name_parse_bidi_class_v1.rs.data");
include!("property_binary_bidi_mirrored_v1.rs.data");
include!("property_binary_grapheme_link_v1.rs.data");
include!("property_name_long_script_v1.rs.data");
include!("property_name_long_east_asian_width_v1.rs.data");
include!("property_name_parse_sentence_break_v1.rs.data");
include!("property_binary_alnum_v1.rs.data");
include!("property_name_short_general_category_v1.rs.data");
include!("property_name_short_vertical_orientation_v1.rs.data");
include!("property_binary_changes_when_casefolded_v1.rs.data");
include!("property_name_parse_hangul_syllable_type_v1.rs.data");
include!("property_enum_sentence_break_v1.rs.data");
include!("property_binary_quotation_mark_v1.rs.data");
include!("property_binary_deprecated_v1.rs.data");
include!("property_binary_xid_start_v1.rs.data");
include!("property_binary_segment_starter_v1.rs.data");
include!("property_binary_hyphen_v1.rs.data");
include!("property_binary_variation_selector_v1.rs.data");
include!("property_enum_word_break_v1.rs.data");
include!("property_name_short_east_asian_width_v1.rs.data");
include!("property_name_short_sentence_break_v1.rs.data");
include!("property_binary_modifier_combining_mark_v1.rs.data");
include!("property_name_short_indic_conjunct_break_v1.rs.data");
include!("property_name_long_bidi_class_v1.rs.data");
include!("property_binary_prepended_concatenation_mark_v1.rs.data");
include!("property_name_short_joining_type_v1.rs.data");
include!("property_binary_print_v1.rs.data");
include!("property_enum_canonical_combining_class_v1.rs.data");
include!("property_binary_terminal_punctuation_v1.rs.data");
include!("property_enum_vertical_orientation_v1.rs.data");
include!("property_binary_cased_v1.rs.data");
include!("property_binary_nfkc_inert_v1.rs.data");
include!("property_binary_id_continue_v1.rs.data");
include!("property_binary_basic_emoji_v1.rs.data");
include!("property_binary_id_start_v1.rs.data");
include!("property_binary_uppercase_v1.rs.data");
include!("property_name_short_script_v1.rs.data");
include!("property_enum_hangul_syllable_type_v1.rs.data");
include!("property_binary_xdigit_v1.rs.data");
include!("property_binary_full_composition_exclusion_v1.rs.data");
include!("property_name_long_vertical_orientation_v1.rs.data");
include!("property_binary_changes_when_nfkc_casefolded_v1.rs.data");
include!("property_binary_hex_digit_v1.rs.data");
include!("property_name_parse_joining_type_v1.rs.data");
include!("property_binary_xid_continue_v1.rs.data");
include!("property_binary_soft_dotted_v1.rs.data");
include!("property_binary_ideographic_v1.rs.data");
include!("property_name_short_canonical_combining_class_v1.rs.data");
include!("property_name_long_word_break_v1.rs.data");
include!("property_binary_changes_when_titlecased_v1.rs.data");
include!("property_enum_bidi_class_v1.rs.data");
include!("property_binary_sentence_terminal_v1.rs.data");
include!("property_enum_indic_conjunct_break_v1.rs.data");
include!("property_name_long_general_category_v1.rs.data");
include!("property_binary_ascii_hex_digit_v1.rs.data");
include!("property_enum_line_break_v1.rs.data");
include!("property_enum_east_asian_width_v1.rs.data");
include!("property_name_parse_grapheme_cluster_break_v1.rs.data");
include!("property_name_parse_indic_conjunct_break_v1.rs.data");
include!("property_name_parse_general_category_v1.rs.data");
include!("property_binary_logical_order_exception_v1.rs.data");
include!("property_binary_case_ignorable_v1.rs.data");
include!("property_binary_diacritic_v1.rs.data");
include!("property_binary_grapheme_extend_v1.rs.data");
include!("property_enum_bidi_mirroring_glyph_v1.rs.data");
include!("property_name_parse_general_category_mask_v1.rs.data");
include!("property_binary_nfc_inert_v1.rs.data");
include!("property_name_long_indic_conjunct_break_v1.rs.data");
include!("property_name_parse_script_v1.rs.data");
include!("property_binary_lowercase_v1.rs.data");
include!("property_name_long_joining_type_v1.rs.data");
include!("property_binary_emoji_modifier_base_v1.rs.data");
include!("property_name_long_sentence_break_v1.rs.data");
include!("property_binary_grapheme_base_v1.rs.data");
include!("property_name_long_canonical_combining_class_v1.rs.data");
include!("property_binary_emoji_modifier_v1.rs.data");
include!("property_binary_join_control_v1.rs.data");
include!("property_enum_joining_type_v1.rs.data");
include!("property_name_short_line_break_v1.rs.data");
include!("property_binary_ids_unary_operator_v1.rs.data");
include!("property_name_parse_word_break_v1.rs.data");
include!("property_binary_math_v1.rs.data");
include!("property_binary_pattern_white_space_v1.rs.data");
include!("property_binary_nfkd_inert_v1.rs.data");
include!("property_binary_id_compat_math_start_v1.rs.data");
include!("property_binary_alphabetic_v1.rs.data");
include!("property_enum_grapheme_cluster_break_v1.rs.data");
include!("property_binary_blank_v1.rs.data");
include!("property_binary_default_ignorable_code_point_v1.rs.data");
include!("property_binary_extended_pictographic_v1.rs.data");
include!("property_name_parse_vertical_orientation_v1.rs.data");
include!("property_name_parse_canonical_combining_class_v1.rs.data");
/// Marks a type as a data provider. You can then use macros like
/// `impl_core_helloworld_v1` to add implementations.
///
/// ```ignore
/// struct MyProvider;
/// const _: () = {
/// include!("path/to/generated/macros.rs");
/// make_provider!(MyProvider);
/// impl_core_helloworld_v1!(MyProvider);
/// }
/// ```
#[doc(hidden)]
#[macro_export]
macro_rules! __make_provider {
($ name : ty) => {
#[clippy::msrv = "1.83"]
impl $name {
#[allow(dead_code)]
pub(crate) const MUST_USE_MAKE_PROVIDER_MACRO: () = ();
}
icu_provider::marker::impl_data_provider_never_marker!($name);
};
}
#[doc(inline)]
pub use __make_provider as make_provider;
/// This macro requires the following crates:
/// * `icu`
/// * `icu_provider`
/// * `zerotrie`
/// * `zerovec`
#[allow(unused_macros)]
macro_rules! impl_data_provider {
($ provider : ty) => {
make_provider!($provider);
impl_property_enum_indic_syllabic_category_v1!($provider);
impl_property_binary_pattern_syntax_v1!($provider);
impl_property_binary_changes_when_lowercased_v1!($provider);
impl_property_binary_ids_trinary_operator_v1!($provider);
impl_property_binary_regional_indicator_v1!($provider);
impl_property_binary_changes_when_uppercased_v1!($provider);
impl_property_binary_changes_when_casemapped_v1!($provider);
impl_property_enum_script_v1!($provider);
impl_property_name_short_indic_syllabic_category_v1!($provider);
impl_property_binary_ids_binary_operator_v1!($provider);
impl_property_binary_radical_v1!($provider);
impl_property_binary_extender_v1!($provider);
impl_property_name_long_indic_syllabic_category_v1!($provider);
impl_property_binary_emoji_component_v1!($provider);
impl_property_binary_id_compat_math_continue_v1!($provider);
impl_property_binary_dash_v1!($provider);
impl_property_enum_general_category_v1!($provider);
impl_property_name_long_grapheme_cluster_break_v1!($provider);
impl_property_binary_emoji_presentation_v1!($provider);
impl_property_binary_case_sensitive_v1!($provider);
impl_property_name_short_bidi_class_v1!($provider);
impl_property_binary_nfd_inert_v1!($provider);
impl_property_binary_graph_v1!($provider);
impl_property_binary_bidi_control_v1!($provider);
impl_property_name_short_hangul_syllable_type_v1!($provider);
impl_property_name_short_word_break_v1!($provider);
impl_property_name_parse_line_break_v1!($provider);
impl_property_binary_white_space_v1!($provider);
impl_property_binary_unified_ideograph_v1!($provider);
impl_property_binary_noncharacter_code_point_v1!($provider);
impl_property_name_short_grapheme_cluster_break_v1!($provider);
impl_property_name_parse_indic_syllabic_category_v1!($provider);
impl_property_name_parse_east_asian_width_v1!($provider);
impl_property_script_with_extensions_v1!($provider);
impl_property_name_long_hangul_syllable_type_v1!($provider);
impl_property_binary_emoji_v1!($provider);
impl_property_name_long_line_break_v1!($provider);
impl_property_name_parse_bidi_class_v1!($provider);
impl_property_binary_bidi_mirrored_v1!($provider);
impl_property_binary_grapheme_link_v1!($provider);
impl_property_name_long_script_v1!($provider);
impl_property_name_long_east_asian_width_v1!($provider);
impl_property_name_parse_sentence_break_v1!($provider);
impl_property_binary_alnum_v1!($provider);
impl_property_name_short_general_category_v1!($provider);
impl_property_name_short_vertical_orientation_v1!($provider);
impl_property_binary_changes_when_casefolded_v1!($provider);
impl_property_name_parse_hangul_syllable_type_v1!($provider);
impl_property_enum_sentence_break_v1!($provider);
impl_property_binary_quotation_mark_v1!($provider);
impl_property_binary_deprecated_v1!($provider);
impl_property_binary_xid_start_v1!($provider);
impl_property_binary_segment_starter_v1!($provider);
impl_property_binary_hyphen_v1!($provider);
impl_property_binary_variation_selector_v1!($provider);
impl_property_enum_word_break_v1!($provider);
impl_property_name_short_east_asian_width_v1!($provider);
impl_property_name_short_sentence_break_v1!($provider);
impl_property_binary_modifier_combining_mark_v1!($provider);
impl_property_name_short_indic_conjunct_break_v1!($provider);
impl_property_name_long_bidi_class_v1!($provider);
impl_property_binary_prepended_concatenation_mark_v1!($provider);
impl_property_name_short_joining_type_v1!($provider);
impl_property_binary_print_v1!($provider);
impl_property_enum_canonical_combining_class_v1!($provider);
impl_property_binary_terminal_punctuation_v1!($provider);
impl_property_enum_vertical_orientation_v1!($provider);
impl_property_binary_cased_v1!($provider);
impl_property_binary_nfkc_inert_v1!($provider);
impl_property_binary_id_continue_v1!($provider);
impl_property_binary_basic_emoji_v1!($provider);
impl_property_binary_id_start_v1!($provider);
impl_property_binary_uppercase_v1!($provider);
impl_property_name_short_script_v1!($provider);
impl_property_enum_hangul_syllable_type_v1!($provider);
impl_property_binary_xdigit_v1!($provider);
impl_property_binary_full_composition_exclusion_v1!($provider);
impl_property_name_long_vertical_orientation_v1!($provider);
impl_property_binary_changes_when_nfkc_casefolded_v1!($provider);
impl_property_binary_hex_digit_v1!($provider);
impl_property_name_parse_joining_type_v1!($provider);
impl_property_binary_xid_continue_v1!($provider);
impl_property_binary_soft_dotted_v1!($provider);
impl_property_binary_ideographic_v1!($provider);
impl_property_name_short_canonical_combining_class_v1!($provider);
impl_property_name_long_word_break_v1!($provider);
impl_property_binary_changes_when_titlecased_v1!($provider);
impl_property_enum_bidi_class_v1!($provider);
impl_property_binary_sentence_terminal_v1!($provider);
impl_property_enum_indic_conjunct_break_v1!($provider);
impl_property_name_long_general_category_v1!($provider);
impl_property_binary_ascii_hex_digit_v1!($provider);
impl_property_enum_line_break_v1!($provider);
impl_property_enum_east_asian_width_v1!($provider);
impl_property_name_parse_grapheme_cluster_break_v1!($provider);
impl_property_name_parse_indic_conjunct_break_v1!($provider);
impl_property_name_parse_general_category_v1!($provider);
impl_property_binary_logical_order_exception_v1!($provider);
impl_property_binary_case_ignorable_v1!($provider);
impl_property_binary_diacritic_v1!($provider);
impl_property_binary_grapheme_extend_v1!($provider);
impl_property_enum_bidi_mirroring_glyph_v1!($provider);
impl_property_name_parse_general_category_mask_v1!($provider);
impl_property_binary_nfc_inert_v1!($provider);
impl_property_name_long_indic_conjunct_break_v1!($provider);
impl_property_name_parse_script_v1!($provider);
impl_property_binary_lowercase_v1!($provider);
impl_property_name_long_joining_type_v1!($provider);
impl_property_binary_emoji_modifier_base_v1!($provider);
impl_property_name_long_sentence_break_v1!($provider);
impl_property_binary_grapheme_base_v1!($provider);
impl_property_name_long_canonical_combining_class_v1!($provider);
impl_property_binary_emoji_modifier_v1!($provider);
impl_property_binary_join_control_v1!($provider);
impl_property_enum_joining_type_v1!($provider);
impl_property_name_short_line_break_v1!($provider);
impl_property_binary_ids_unary_operator_v1!($provider);
impl_property_name_parse_word_break_v1!($provider);
impl_property_binary_math_v1!($provider);
impl_property_binary_pattern_white_space_v1!($provider);
impl_property_binary_nfkd_inert_v1!($provider);
impl_property_binary_id_compat_math_start_v1!($provider);
impl_property_binary_alphabetic_v1!($provider);
impl_property_enum_grapheme_cluster_break_v1!($provider);
impl_property_binary_blank_v1!($provider);
impl_property_binary_default_ignorable_code_point_v1!($provider);
impl_property_binary_extended_pictographic_v1!($provider);
impl_property_name_parse_vertical_orientation_v1!($provider);
impl_property_name_parse_canonical_combining_class_v1!($provider);
};
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryAsciiHexDigitV1>` 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:
/// * 50B[^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_ascii_hex_digit_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_ASCII_HEX_DIGIT_V1: &'static <icu::properties::provider::PropertyBinaryAsciiHexDigitV1 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"0\0\0:\0\0A\0\0G\0\0a\0\0g\0\0") }, 22u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryAsciiHexDigitV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryAsciiHexDigitV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_ASCII_HEX_DIGIT_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryAsciiHexDigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_ascii_hex_digit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryAsciiHexDigitV1> 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_ascii_hex_digit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryAsciiHexDigitV1> 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::PropertyBinaryAsciiHexDigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_ascii_hex_digit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryAsciiHexDigitV1> 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::PropertyBinaryAsciiHexDigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryAsciiHexDigitV1> 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_ascii_hex_digit_v1 as impl_property_binary_ascii_hex_digit_v1;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryBidiControlV1>` 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:
/// * 56B[^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_bidi_control_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_BIDI_CONTROL_V1: &'static <icu::properties::provider::PropertyBinaryBidiControlV1 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"\x1C\x06\0\x1D\x06\0\x0E \0\x10 \0* \0/ \0f \0j \0") }, 12u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryBidiControlV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryBidiControlV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_BIDI_CONTROL_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryBidiControlV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_bidi_control_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryBidiControlV1> 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_bidi_control_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryBidiControlV1> 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::PropertyBinaryBidiControlV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_bidi_control_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryBidiControlV1> 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::PropertyBinaryBidiControlV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryBidiControlV1> 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_bidi_control_v1 as impl_property_binary_bidi_control_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryBidiMirroredV1>` 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:
/// * 716B[^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_bidi_mirrored_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_BIDI_MIRRORED_V1: &'static <icu::properties::provider::PropertyBinaryBidiMirroredV1 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"(\0\0*\0\0<\0\0=\0\0>\0\0?\0\0[\0\0\\\0\0]\0\0^\0\0{\0\0|\0\0}\0\0~\0\0\xAB\0\0\xAC\0\0\xBB\0\0\xBC\0\0:\x0F\0>\x0F\0\x9B\x16\0\x9D\x16\09 \0; \0E \0G \0} \0\x7F \0\x8D \0\x8F \0@!\0A!\0\x01\"\0\x05\"\0\x08\"\0\x0E\"\0\x11\"\0\x12\"\0\x15\"\0\x17\"\0\x1A\"\0\x1E\"\0\x1F\"\0#\"\0$\"\0%\"\0&\"\0'\"\0+\"\x004\"\09\"\0:\"\0;\"\0M\"\0R\"\0V\"\0_\"\0a\"\0b\"\0c\"\0d\"\0l\"\0m\"\0\x8D\"\0\x8F\"\0\x93\"\0\x98\"\0\x99\"\0\xA2\"\0\xA4\"\0\xA6\"\0\xB9\"\0\xBE\"\0\xC0\"\0\xC9\"\0\xCE\"\0\xD0\"\0\xD2\"\0\xD6\"\0\xEE\"\0\xF0\"\0\0#\0\x08#\0\x0C#\0 #\0\"#\0)#\0+#\0h'\0v'\0\xC0'\0\xC1'\0\xC3'\0\xC7'\0\xC8'\0\xCA'\0\xCB'\0\xCE'\0\xD3'\0\xD7'\0\xDC'\0\xDF'\0\xE2'\0\xF0'\0\x83)\0\x99)\0\x9B)\0\xA1)\0\xA2)\0\xB0)\0\xB8)\0\xB9)\0\xC0)\0\xC6)\0\xC9)\0\xCA)\0\xCE)\0\xD3)\0\xD4)\0\xD6)\0\xD8)\0\xDD)\0\xE1)\0\xE2)\0\xE3)\0\xE6)\0\xE8)\0\xEA)\0\xF4)\0\xFA)\0\xFC)\0\xFE)\0\n*\0\x1D*\0\x1E*\0\"*\0$*\0%*\0&*\0'*\0)*\0**\0+*\0/*\x004*\x006*\0<*\0?*\0W*\0Y*\0d*\0f*\0j*\0n*\0o*\0q*\0s*\0u*\0y*\0\xA4*\0\xA6*\0\xAE*\0\xAF*\0\xD7*\0\xDC*\0\xDD*\0\xDE*\0\xDF*\0\xE2*\0\xE7*\0\xEC*\0\xEF*\0\xF3*\0\xF4*\0\xF7*\0\xFC*\0\xFD*\0\xFE*\0\xFE+\0\xFF+\0\x02.\0\x06.\0\t.\0\x0B.\0\x0C.\0\x0E.\0\x1C.\0\x1E.\0 .\0*.\0U.\0].\0\x080\0\x120\0\x140\0\x1C0\0Y\xFE\0_\xFE\0d\xFE\0f\xFE\0\x08\xFF\0\n\xFF\0\x1C\xFF\0\x1D\xFF\0\x1E\xFF\0\x1F\xFF\0;\xFF\0<\xFF\0=\xFF\0>\xFF\0[\xFF\0\\\xFF\0]\xFF\0^\xFF\0_\xFF\0a\xFF\0b\xFF\0d\xFF\0\xDB\xD6\x01\xDC\xD6\x01\x15\xD7\x01\x16\xD7\x01O\xD7\x01P\xD7\x01\x89\xD7\x01\x8A\xD7\x01\xC3\xD7\x01\xC4\xD7\x01") }, 554u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryBidiMirroredV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryBidiMirroredV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_BIDI_MIRRORED_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryBidiMirroredV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_bidi_mirrored_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryBidiMirroredV1> 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_bidi_mirrored_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryBidiMirroredV1> 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::PropertyBinaryBidiMirroredV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_bidi_mirrored_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryBidiMirroredV1> 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::PropertyBinaryBidiMirroredV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryBidiMirroredV1> 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_bidi_mirrored_v1 as impl_property_binary_bidi_mirrored_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryBlankV1>` 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:
/// * 80B[^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_blank_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_BLANK_V1: &'static <icu::properties::provider::PropertyBinaryBlankV1 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"\t\0\0\n\0\0 \0\0!\0\0\xA0\0\0\xA1\0\0\x80\x16\0\x81\x16\0\0 \0\x0B \0/ \x000 \0_ \0` \0\x000\0\x010\0") }, 18u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryBlankV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryBlankV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_BLANK_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryBlankV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_blank_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryBlankV1> 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_blank_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryBlankV1> 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::PropertyBinaryBlankV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_blank_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryBlankV1> 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::PropertyBinaryBlankV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryBlankV1> 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_blank_v1 as impl_property_binary_blank_v1;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryCaseSensitiveV1>` 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:
/// * 872B[^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_case_sensitive_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_CASE_SENSITIVE_V1: &'static <icu::properties::provider::PropertyBinaryCaseSensitiveV1 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"A\0\0[\0\0a\0\0{\0\0\xB5\0\0\xB6\0\0\xC0\0\0\xD7\0\0\xD8\0\0\xF7\0\0\xF8\0\08\x01\09\x01\0\x8D\x01\0\x8E\x01\0\xAA\x01\0\xAC\x01\0\xBA\x01\0\xBC\x01\0\xBE\x01\0\xBF\x01\0\xC0\x01\0\xC4\x01\0!\x02\0\"\x02\x004\x02\0:\x02\0U\x02\0V\x02\0X\x02\0Y\x02\0Z\x02\0[\x02\0]\x02\0`\x02\0b\x02\0c\x02\0g\x02\0h\x02\0m\x02\0o\x02\0p\x02\0q\x02\0s\x02\0u\x02\0v\x02\0}\x02\0~\x02\0\x80\x02\0\x81\x02\0\x82\x02\0\x84\x02\0\x87\x02\0\x8D\x02\0\x92\x02\0\x93\x02\0\x9D\x02\0\x9F\x02\0\xBC\x02\0\xBD\x02\0\xBE\x02\0\xBF\x02\0\0\x03\0\x02\x03\0\x07\x03\0\t\x03\0\n\x03\0\x0B\x03\0\x0C\x03\0\r\x03\0\x13\x03\0\x14\x03\x001\x03\x002\x03\0B\x03\0C\x03\0E\x03\0F\x03\0p\x03\0t\x03\0v\x03\0x\x03\0{\x03\0~\x03\0\x7F\x03\0\x80\x03\0\x86\x03\0\x87\x03\0\x88\x03\0\x8B\x03\0\x8C\x03\0\x8D\x03\0\x8E\x03\0\xA2\x03\0\xA3\x03\0\xD2\x03\0\xD5\x03\0\xF6\x03\0\xF7\x03\0\xFC\x03\0\xFD\x03\0\x82\x04\0\x8A\x04\x000\x05\x001\x05\0W\x05\0a\x05\0\x88\x05\0\xA0\x10\0\xC6\x10\0\xC7\x10\0\xC8\x10\0\xCD\x10\0\xCE\x10\0\xD0\x10\0\xFB\x10\0\xFD\x10\0\0\x11\0\xA0\x13\0\xF6\x13\0\xF8\x13\0\xFE\x13\0\x80\x1C\0\x8B\x1C\0\x90\x1C\0\xBB\x1C\0\xBD\x1C\0\xC0\x1C\0y\x1D\0z\x1D\0}\x1D\0~\x1D\0\x8E\x1D\0\x8F\x1D\0\0\x1E\0\x9C\x1E\0\x9E\x1E\0\x9F\x1E\0\xA0\x1E\0\x16\x1F\0\x18\x1F\0\x1E\x1F\0 \x1F\0F\x1F\0H\x1F\0N\x1F\0P\x1F\0X\x1F\0Y\x1F\0Z\x1F\0[\x1F\0\\\x1F\0]\x1F\0^\x1F\0_\x1F\0~\x1F\0\x80\x1F\0\xB5\x1F\0\xB6\x1F\0\xBD\x1F\0\xBE\x1F\0\xBF\x1F\0\xC2\x1F\0\xC5\x1F\0\xC6\x1F\0\xCD\x1F\0\xD0\x1F\0\xD4\x1F\0\xD6\x1F\0\xDC\x1F\0\xE0\x1F\0\xED\x1F\0\xF2\x1F\0\xF5\x1F\0\xF6\x1F\0\xFD\x1F\0&!\0'!\0*!\0,!\x002!\x003!\0N!\0O!\0`!\0\x80!\0\x83!\0\x85!\0\xB6$\0\xEA$\0\0,\0q,\0r,\0t,\0u,\0w,\0~,\0\xE4,\0\xEB,\0\xEF,\0\xF2,\0\xF4,\0\0-\0&-\0'-\0(-\0--\0.-\0@\xA6\0n\xA6\0\x80\xA6\0\x9C\xA6\0\"\xA7\x000\xA7\x002\xA7\0p\xA7\0y\xA7\0\x88\xA7\0\x8B\xA7\0\x8E\xA7\0\x90\xA7\0\x95\xA7\0\x96\xA7\0\xAF\xA7\0\xB0\xA7\0\xDD\xA7\0\xF5\xA7\0\xF7\xA7\0S\xAB\0T\xAB\0p\xAB\0\xC0\xAB\0\0\xFB\0\x07\xFB\0\x13\xFB\0\x18\xFB\0!\xFF\0;\xFF\0A\xFF\0[\xFF\0\0\x04\x01P\x04\x01\xB0\x04\x01\xD4\x04\x01\xD8\x04\x01\xFC\x04\x01p\x05\x01{\x05\x01|\x05\x01\x8B\x05\x01\x8C\x05\x01\x93\x05\x01\x94\x05\x01\x96\x05\x01\x97\x05\x01\xA2\x05\x01\xA3\x05\x01\xB2\x05\x01\xB3\x05\x01\xBA\x05\x01\xBB\x05\x01\xBD\x05\x01\x80\x0C\x01\xB3\x0C\x01\xC0\x0C\x01\xF3\x0C\x01P\r\x01f\r\x01p\r\x01\x86\r\x01\xA0\x18\x01\xE0\x18\x01@n\x01\x80n\x01\xA0n\x01\xB9n\x01\xBBn\x01\xD4n\x01\0\xE9\x01D\xE9\x01") }, 3048u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryCaseSensitiveV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryCaseSensitiveV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_CASE_SENSITIVE_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryCaseSensitiveV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_case_sensitive_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryCaseSensitiveV1> 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_case_sensitive_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryCaseSensitiveV1> 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::PropertyBinaryCaseSensitiveV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_case_sensitive_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryCaseSensitiveV1> 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::PropertyBinaryCaseSensitiveV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryCaseSensitiveV1> 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_case_sensitive_v1 as impl_property_binary_case_sensitive_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryCasedV1>` 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:
/// * 980B[^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_cased_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_CASED_V1: &'static <icu::properties::provider::PropertyBinaryCasedV1 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"A\0\0[\0\0a\0\0{\0\0\xAA\0\0\xAB\0\0\xB5\0\0\xB6\0\0\xBA\0\0\xBB\0\0\xC0\0\0\xD7\0\0\xD8\0\0\xF7\0\0\xF8\0\0\xBB\x01\0\xBC\x01\0\xC0\x01\0\xC4\x01\0\x94\x02\0\x96\x02\0\xB9\x02\0\xC0\x02\0\xC2\x02\0\xE0\x02\0\xE5\x02\0E\x03\0F\x03\0p\x03\0t\x03\0v\x03\0x\x03\0z\x03\0~\x03\0\x7F\x03\0\x80\x03\0\x86\x03\0\x87\x03\0\x88\x03\0\x8B\x03\0\x8C\x03\0\x8D\x03\0\x8E\x03\0\xA2\x03\0\xA3\x03\0\xF6\x03\0\xF7\x03\0\x82\x04\0\x8A\x04\x000\x05\x001\x05\0W\x05\0`\x05\0\x89\x05\0\xA0\x10\0\xC6\x10\0\xC7\x10\0\xC8\x10\0\xCD\x10\0\xCE\x10\0\xD0\x10\0\xFB\x10\0\xFC\x10\0\0\x11\0\xA0\x13\0\xF6\x13\0\xF8\x13\0\xFE\x13\0\x80\x1C\0\x8B\x1C\0\x90\x1C\0\xBB\x1C\0\xBD\x1C\0\xC0\x1C\0\0\x1D\0\xC0\x1D\0\0\x1E\0\x16\x1F\0\x18\x1F\0\x1E\x1F\0 \x1F\0F\x1F\0H\x1F\0N\x1F\0P\x1F\0X\x1F\0Y\x1F\0Z\x1F\0[\x1F\0\\\x1F\0]\x1F\0^\x1F\0_\x1F\0~\x1F\0\x80\x1F\0\xB5\x1F\0\xB6\x1F\0\xBD\x1F\0\xBE\x1F\0\xBF\x1F\0\xC2\x1F\0\xC5\x1F\0\xC6\x1F\0\xCD\x1F\0\xD0\x1F\0\xD4\x1F\0\xD6\x1F\0\xDC\x1F\0\xE0\x1F\0\xED\x1F\0\xF2\x1F\0\xF5\x1F\0\xF6\x1F\0\xFD\x1F\0q \0r \0\x7F \0\x80 \0\x90 \0\x9D \0\x02!\0\x03!\0\x07!\0\x08!\0\n!\0\x14!\0\x15!\0\x16!\0\x19!\0\x1E!\0$!\0%!\0&!\0'!\0(!\0)!\0*!\0.!\0/!\x005!\09!\0:!\0<!\0@!\0E!\0J!\0N!\0O!\0`!\0\x80!\0\x83!\0\x85!\0\xB6$\0\xEA$\0\0,\0\xE5,\0\xEB,\0\xEF,\0\xF2,\0\xF4,\0\0-\0&-\0'-\0(-\0--\0.-\0@\xA6\0n\xA6\0\x80\xA6\0\x9E\xA6\0\"\xA7\0\x88\xA7\0\x8B\xA7\0\x8F\xA7\0\x90\xA7\0\xDD\xA7\0\xF1\xA7\0\xF7\xA7\0\xF8\xA7\0\xFB\xA7\x000\xAB\0[\xAB\0\\\xAB\0j\xAB\0p\xAB\0\xC0\xAB\0\0\xFB\0\x07\xFB\0\x13\xFB\0\x18\xFB\0!\xFF\0;\xFF\0A\xFF\0[\xFF\0\0\x04\x01P\x04\x01\xB0\x04\x01\xD4\x04\x01\xD8\x04\x01\xFC\x04\x01p\x05\x01{\x05\x01|\x05\x01\x8B\x05\x01\x8C\x05\x01\x93\x05\x01\x94\x05\x01\x96\x05\x01\x97\x05\x01\xA2\x05\x01\xA3\x05\x01\xB2\x05\x01\xB3\x05\x01\xBA\x05\x01\xBB\x05\x01\xBD\x05\x01\x80\x07\x01\x81\x07\x01\x83\x07\x01\x86\x07\x01\x87\x07\x01\xB1\x07\x01\xB2\x07\x01\xBB\x07\x01\x80\x0C\x01\xB3\x0C\x01\xC0\x0C\x01\xF3\x0C\x01P\r\x01f\r\x01p\r\x01\x86\r\x01\xA0\x18\x01\xE0\x18\x01@n\x01\x80n\x01\xA0n\x01\xB9n\x01\xBBn\x01\xD4n\x01\0\xD4\x01U\xD4\x01V\xD4\x01\x9D\xD4\x01\x9E\xD4\x01\xA0\xD4\x01\xA2\xD4\x01\xA3\xD4\x01\xA5\xD4\x01\xA7\xD4\x01\xA9\xD4\x01\xAD\xD4\x01\xAE\xD4\x01\xBA\xD4\x01\xBB\xD4\x01\xBC\xD4\x01\xBD\xD4\x01\xC4\xD4\x01\xC5\xD4\x01\x06\xD5\x01\x07\xD5\x01\x0B\xD5\x01\r\xD5\x01\x15\xD5\x01\x16\xD5\x01\x1D\xD5\x01\x1E\xD5\x01:\xD5\x01;\xD5\x01?\xD5\x01@\xD5\x01E\xD5\x01F\xD5\x01G\xD5\x01J\xD5\x01Q\xD5\x01R\xD5\x01\xA6\xD6\x01\xA8\xD6\x01\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\xCC\xD7\x01\0\xDF\x01\n\xDF\x01\x0B\xDF\x01\x1F\xDF\x01%\xDF\x01+\xDF\x010\xE0\x01n\xE0\x01\0\xE9\x01D\xE9\x010\xF1\x01J\xF1\x01P\xF1\x01j\xF1\x01p\xF1\x01\x8A\xF1\x01") }, 4632u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryCasedV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryCasedV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_CASED_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryCasedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_cased_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryCasedV1> 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_cased_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryCasedV1> 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::PropertyBinaryCasedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_cased_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryCasedV1> 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::PropertyBinaryCasedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryCasedV1> 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_cased_v1 as impl_property_binary_cased_v1;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryChangesWhenCasemappedV1>` 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:
/// * 818B[^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_changes_when_casemapped_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_CHANGES_WHEN_CASEMAPPED_V1: &'static <icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1 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"A\0\0[\0\0a\0\0{\0\0\xB5\0\0\xB6\0\0\xC0\0\0\xD7\0\0\xD8\0\0\xF7\0\0\xF8\0\08\x01\09\x01\0\x8D\x01\0\x8E\x01\0\xAA\x01\0\xAC\x01\0\xBA\x01\0\xBC\x01\0\xBE\x01\0\xBF\x01\0\xC0\x01\0\xC4\x01\0!\x02\0\"\x02\x004\x02\0:\x02\0U\x02\0V\x02\0X\x02\0Y\x02\0Z\x02\0[\x02\0]\x02\0`\x02\0b\x02\0c\x02\0g\x02\0h\x02\0m\x02\0o\x02\0p\x02\0q\x02\0s\x02\0u\x02\0v\x02\0}\x02\0~\x02\0\x80\x02\0\x81\x02\0\x82\x02\0\x84\x02\0\x87\x02\0\x8D\x02\0\x92\x02\0\x93\x02\0\x9D\x02\0\x9F\x02\0E\x03\0F\x03\0p\x03\0t\x03\0v\x03\0x\x03\0{\x03\0~\x03\0\x7F\x03\0\x80\x03\0\x86\x03\0\x87\x03\0\x88\x03\0\x8B\x03\0\x8C\x03\0\x8D\x03\0\x8E\x03\0\xA2\x03\0\xA3\x03\0\xD2\x03\0\xD5\x03\0\xF6\x03\0\xF7\x03\0\xFC\x03\0\xFD\x03\0\x82\x04\0\x8A\x04\x000\x05\x001\x05\0W\x05\0a\x05\0\x88\x05\0\xA0\x10\0\xC6\x10\0\xC7\x10\0\xC8\x10\0\xCD\x10\0\xCE\x10\0\xD0\x10\0\xFB\x10\0\xFD\x10\0\0\x11\0\xA0\x13\0\xF6\x13\0\xF8\x13\0\xFE\x13\0\x80\x1C\0\x8B\x1C\0\x90\x1C\0\xBB\x1C\0\xBD\x1C\0\xC0\x1C\0y\x1D\0z\x1D\0}\x1D\0~\x1D\0\x8E\x1D\0\x8F\x1D\0\0\x1E\0\x9C\x1E\0\x9E\x1E\0\x9F\x1E\0\xA0\x1E\0\x16\x1F\0\x18\x1F\0\x1E\x1F\0 \x1F\0F\x1F\0H\x1F\0N\x1F\0P\x1F\0X\x1F\0Y\x1F\0Z\x1F\0[\x1F\0\\\x1F\0]\x1F\0^\x1F\0_\x1F\0~\x1F\0\x80\x1F\0\xB5\x1F\0\xB6\x1F\0\xBD\x1F\0\xBE\x1F\0\xBF\x1F\0\xC2\x1F\0\xC5\x1F\0\xC6\x1F\0\xCD\x1F\0\xD0\x1F\0\xD4\x1F\0\xD6\x1F\0\xDC\x1F\0\xE0\x1F\0\xED\x1F\0\xF2\x1F\0\xF5\x1F\0\xF6\x1F\0\xFD\x1F\0&!\0'!\0*!\0,!\x002!\x003!\0N!\0O!\0`!\0\x80!\0\x83!\0\x85!\0\xB6$\0\xEA$\0\0,\0q,\0r,\0t,\0u,\0w,\0~,\0\xE4,\0\xEB,\0\xEF,\0\xF2,\0\xF4,\0\0-\0&-\0'-\0(-\0--\0.-\0@\xA6\0n\xA6\0\x80\xA6\0\x9C\xA6\0\"\xA7\x000\xA7\x002\xA7\0p\xA7\0y\xA7\0\x88\xA7\0\x8B\xA7\0\x8E\xA7\0\x90\xA7\0\x95\xA7\0\x96\xA7\0\xAF\xA7\0\xB0\xA7\0\xDD\xA7\0\xF5\xA7\0\xF7\xA7\0S\xAB\0T\xAB\0p\xAB\0\xC0\xAB\0\0\xFB\0\x07\xFB\0\x13\xFB\0\x18\xFB\0!\xFF\0;\xFF\0A\xFF\0[\xFF\0\0\x04\x01P\x04\x01\xB0\x04\x01\xD4\x04\x01\xD8\x04\x01\xFC\x04\x01p\x05\x01{\x05\x01|\x05\x01\x8B\x05\x01\x8C\x05\x01\x93\x05\x01\x94\x05\x01\x96\x05\x01\x97\x05\x01\xA2\x05\x01\xA3\x05\x01\xB2\x05\x01\xB3\x05\x01\xBA\x05\x01\xBB\x05\x01\xBD\x05\x01\x80\x0C\x01\xB3\x0C\x01\xC0\x0C\x01\xF3\x0C\x01P\r\x01f\r\x01p\r\x01\x86\r\x01\xA0\x18\x01\xE0\x18\x01@n\x01\x80n\x01\xA0n\x01\xB9n\x01\xBBn\x01\xD4n\x01\0\xE9\x01D\xE9\x01") }, 3037u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_CHANGES_WHEN_CASEMAPPED_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_changes_when_casemapped_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1> 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_changes_when_casemapped_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1> 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::PropertyBinaryChangesWhenCasemappedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_changes_when_casemapped_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1> 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::PropertyBinaryChangesWhenCasemappedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryChangesWhenCasemappedV1> 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_changes_when_casemapped_v1 as impl_property_binary_changes_when_casemapped_v1;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryDashV1>` 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:
/// * 176B[^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_dash_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_DASH_V1: &'static <icu::properties::provider::PropertyBinaryDashV1 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"-\0\0.\0\0\x8A\x05\0\x8B\x05\0\xBE\x05\0\xBF\x05\0\0\x14\0\x01\x14\0\x06\x18\0\x07\x18\0\x10 \0\x16 \0S \0T \0{ \0| \0\x8B \0\x8C \0\x12\"\0\x13\"\0\x17.\0\x18.\0\x1A.\0\x1B.\0:.\0<.\0@.\0A.\0].\0^.\0\x1C0\0\x1D0\x0000\x0010\0\xA00\0\xA10\x001\xFE\x003\xFE\0X\xFE\0Y\xFE\0c\xFE\0d\xFE\0\r\xFF\0\x0E\xFF\0n\r\x01o\r\x01\xAD\x0E\x01\xAE\x0E\x01") }, 31u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryDashV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryDashV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_DASH_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryDashV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_dash_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDashV1> 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_dash_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDashV1> 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::PropertyBinaryDashV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_dash_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDashV1> 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::PropertyBinaryDashV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDashV1> 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_dash_v1 as impl_property_binary_dash_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryDefaultIgnorableCodePointV1>` 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:
/// * 134B[^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_default_ignorable_code_point_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_DEFAULT_IGNORABLE_CODE_POINT_V1: &'static <icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1 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"\xAD\0\0\xAE\0\0O\x03\0P\x03\0\x1C\x06\0\x1D\x06\0_\x11\0a\x11\0\xB4\x17\0\xB6\x17\0\x0B\x18\0\x10\x18\0\x0B \0\x10 \0* \0/ \0` \0p \0d1\0e1\0\0\xFE\0\x10\xFE\0\xFF\xFE\0\0\xFF\0\xA0\xFF\0\xA1\xFF\0\xF0\xFF\0\xF9\xFF\0\xA0\xBC\x01\xA4\xBC\x01s\xD1\x01{\xD1\x01\0\0\x0E\0\x10\x0E") }, 4174u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_DEFAULT_IGNORABLE_CODE_POINT_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_default_ignorable_code_point_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1> 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_default_ignorable_code_point_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1> 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::PropertyBinaryDefaultIgnorableCodePointV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_default_ignorable_code_point_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1> 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::PropertyBinaryDefaultIgnorableCodePointV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDefaultIgnorableCodePointV1> 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_default_ignorable_code_point_v1 as impl_property_binary_default_ignorable_code_point_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryDeprecatedV1>` 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:
/// * 80B[^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_deprecated_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_DEPRECATED_V1: &'static <icu::properties::provider::PropertyBinaryDeprecatedV1 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"I\x01\0J\x01\0s\x06\0t\x06\0w\x0F\0x\x0F\0y\x0F\0z\x0F\0\xA3\x17\0\xA5\x17\0j \0p \0)#\0+#\0\x01\0\x0E\x02\0\x0E") }, 15u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryDeprecatedV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryDeprecatedV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_DEPRECATED_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryDeprecatedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_deprecated_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDeprecatedV1> 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_deprecated_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDeprecatedV1> 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::PropertyBinaryDeprecatedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_deprecated_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDeprecatedV1> 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::PropertyBinaryDeprecatedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDeprecatedV1> 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_deprecated_v1 as impl_property_binary_deprecated_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryDiacriticV1>` 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:
/// * 1352B[^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_diacritic_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_DIACRITIC_V1: &'static <icu::properties::provider::PropertyBinaryDiacriticV1 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"^\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\xBE\x05\0\xBF\x05\0\xC0\x05\0\xC1\x05\0\xC3\x05\0\xC4\x05\0\xC6\x05\0\xC7\x05\0\xC8\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\xFD\n\0\0\x0B\0<\x0B\0=\x0B\0M\x0B\0N\x0B\0U\x0B\0V\x0B\0\xCD\x0B\0\xCE\x0B\0<\x0C\0=\x0C\0M\x0C\0N\x0C\0\xBC\x0C\0\xBD\x0C\0\xCD\x0C\0\xCE\x0C\0;\r\0=\r\0M\r\0N\r\0\xCA\r\0\xCB\r\0:\x0E\0;\x0E\0G\x0E\0M\x0E\0N\x0E\0O\x0E\0\xBA\x0E\0\xBB\x0E\0\xC8\x0E\0\xCD\x0E\0\x18\x0F\0\x1A\x0F\x005\x0F\x006\x0F\x007\x0F\08\x0F\09\x0F\0:\x0F\0>\x0F\0@\x0F\0\x82\x0F\0\x85\x0F\0\x86\x0F\0\x88\x0F\0\xC6\x0F\0\xC7\x0F\x007\x10\08\x10\09\x10\0;\x10\0c\x10\0e\x10\0i\x10\0n\x10\0\x87\x10\0\x8E\x10\0\x8F\x10\0\x90\x10\0\x9A\x10\0\x9C\x10\0]\x13\0`\x13\0\x14\x17\0\x16\x17\x004\x17\x005\x17\0\xC9\x17\0\xD4\x17\0\xDD\x17\0\xDE\x17\09\x19\0<\x19\0`\x1A\0a\x1A\0u\x1A\0}\x1A\0\x7F\x1A\0\x80\x1A\0\xB0\x1A\0\xBF\x1A\0\xC1\x1A\0\xCC\x1A\0\xCF\x1A\0\xDE\x1A\0\xE0\x1A\0\xEC\x1A\x004\x1B\x005\x1B\0D\x1B\0E\x1B\0k\x1B\0t\x1B\0\xAA\x1B\0\xAC\x1B\0\xE6\x1B\0\xE7\x1B\0\xF2\x1B\0\xF4\x1B\x006\x1C\08\x1C\0x\x1C\0~\x1C\0\xD0\x1C\0\xE9\x1C\0\xED\x1C\0\xEE\x1C\0\xF4\x1C\0\xF5\x1C\0\xF7\x1C\0\xFA\x1C\0,\x1D\0k\x1D\0\x9B\x1D\0\xBF\x1D\0\xC4\x1D\0\xD0\x1D\0\xF5\x1D\0\0\x1E\0\xBD\x1F\0\xBE\x1F\0\xBF\x1F\0\xC2\x1F\0\xCD\x1F\0\xD0\x1F\0\xDD\x1F\0\xE0\x1F\0\xED\x1F\0\xF0\x1F\0\xFD\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\xF1\xA7\0\xF2\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\xFA\x0E\x01\xFB\x0E\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\x01\xD9\x1D\x01\xDA\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") }, 1247u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryDiacriticV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryDiacriticV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_DIACRITIC_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryDiacriticV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_diacritic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDiacriticV1> 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_diacritic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDiacriticV1> 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::PropertyBinaryDiacriticV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_diacritic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryDiacriticV1> 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::PropertyBinaryDiacriticV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryDiacriticV1> 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_diacritic_v1 as impl_property_binary_diacritic_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryEmojiComponentV1>` 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:
/// * 92B[^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_emoji_component_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_EMOJI_COMPONENT_V1: &'static <icu::properties::provider::PropertyBinaryEmojiComponentV1 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"#\0\0$\0\0*\0\0+\0\x000\0\0:\0\0\r \0\x0E \0\xE3 \0\xE4 \0\x0F\xFE\0\x10\xFE\0\xE6\xF1\x01\0\xF2\x01\xFB\xF3\x01\0\xF4\x01\xB0\xF9\x01\xB4\xF9\x01 \0\x0E\x80\0\x0E") }, 146u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryEmojiComponentV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryEmojiComponentV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_EMOJI_COMPONENT_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryEmojiComponentV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_emoji_component_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiComponentV1> 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_emoji_component_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiComponentV1> 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::PropertyBinaryEmojiComponentV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_emoji_component_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiComponentV1> 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::PropertyBinaryEmojiComponentV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiComponentV1> 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_emoji_component_v1 as impl_property_binary_emoji_component_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryEmojiModifierBaseV1>` 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:
/// * 272B[^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_emoji_modifier_base_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_EMOJI_MODIFIER_BASE_V1: &'static <icu::properties::provider::PropertyBinaryEmojiModifierBaseV1 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"\x1D&\0\x1E&\0\xF9&\0\xFA&\0\n'\0\x0E'\0\x85\xF3\x01\x86\xF3\x01\xC2\xF3\x01\xC5\xF3\x01\xC7\xF3\x01\xC8\xF3\x01\xCA\xF3\x01\xCD\xF3\x01B\xF4\x01D\xF4\x01F\xF4\x01Q\xF4\x01f\xF4\x01y\xF4\x01|\xF4\x01}\xF4\x01\x81\xF4\x01\x84\xF4\x01\x85\xF4\x01\x88\xF4\x01\x8F\xF4\x01\x90\xF4\x01\x91\xF4\x01\x92\xF4\x01\xAA\xF4\x01\xAB\xF4\x01t\xF5\x01v\xF5\x01z\xF5\x01{\xF5\x01\x90\xF5\x01\x91\xF5\x01\x95\xF5\x01\x97\xF5\x01E\xF6\x01H\xF6\x01K\xF6\x01P\xF6\x01\xA3\xF6\x01\xA4\xF6\x01\xB4\xF6\x01\xB7\xF6\x01\xC0\xF6\x01\xC1\xF6\x01\xCC\xF6\x01\xCD\xF6\x01\x0C\xF9\x01\r\xF9\x01\x0F\xF9\x01\x10\xF9\x01\x18\xF9\x01 \xF9\x01&\xF9\x01'\xF9\x010\xF9\x01:\xF9\x01<\xF9\x01?\xF9\x01w\xF9\x01x\xF9\x01\xB5\xF9\x01\xB7\xF9\x01\xB8\xF9\x01\xBA\xF9\x01\xBB\xF9\x01\xBC\xF9\x01\xCD\xF9\x01\xD0\xF9\x01\xD1\xF9\x01\xDE\xF9\x01\xC3\xFA\x01\xC6\xFA\x01\xF0\xFA\x01\xF9\xFA\x01") }, 134u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryEmojiModifierBaseV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryEmojiModifierBaseV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_EMOJI_MODIFIER_BASE_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryEmojiModifierBaseV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_emoji_modifier_base_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierBaseV1> 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_emoji_modifier_base_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierBaseV1> 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::PropertyBinaryEmojiModifierBaseV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_emoji_modifier_base_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierBaseV1> 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::PropertyBinaryEmojiModifierBaseV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierBaseV1> 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_emoji_modifier_base_v1 as impl_property_binary_emoji_modifier_base_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryEmojiModifierV1>` 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:
/// * 38B[^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_emoji_modifier_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_EMOJI_MODIFIER_V1: &'static <icu::properties::provider::PropertyBinaryEmojiModifierV1 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"\xFB\xF3\x01\0\xF4\x01") }, 5u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryEmojiModifierV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryEmojiModifierV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_EMOJI_MODIFIER_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryEmojiModifierV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_emoji_modifier_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierV1> 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_emoji_modifier_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierV1> 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::PropertyBinaryEmojiModifierV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_emoji_modifier_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierV1> 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::PropertyBinaryEmojiModifierV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiModifierV1> 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_emoji_modifier_v1 as impl_property_binary_emoji_modifier_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryEmojiPresentationV1>` 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:
/// * 518B[^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_emoji_presentation_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_EMOJI_PRESENTATION_V1: &'static <icu::properties::provider::PropertyBinaryEmojiPresentationV1 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"\x1A#\0\x1C#\0\xE9#\0\xED#\0\xF0#\0\xF1#\0\xF3#\0\xF4#\0\xFD%\0\xFF%\0\x14&\0\x16&\0H&\0T&\0\x7F&\0\x80&\0\x93&\0\x94&\0\xA1&\0\xA2&\0\xAA&\0\xAC&\0\xBD&\0\xBF&\0\xC4&\0\xC6&\0\xCE&\0\xCF&\0\xD4&\0\xD5&\0\xEA&\0\xEB&\0\xF2&\0\xF4&\0\xF5&\0\xF6&\0\xFA&\0\xFB&\0\xFD&\0\xFE&\0\x05'\0\x06'\0\n'\0\x0C'\0('\0)'\0L'\0M'\0N'\0O'\0S'\0V'\0W'\0X'\0\x95'\0\x98'\0\xB0'\0\xB1'\0\xBF'\0\xC0'\0\x1B+\0\x1D+\0P+\0Q+\0U+\0V+\0\x04\xF0\x01\x05\xF0\x01\xCF\xF0\x01\xD0\xF0\x01\x8E\xF1\x01\x8F\xF1\x01\x91\xF1\x01\x9B\xF1\x01\xE6\xF1\x01\0\xF2\x01\x01\xF2\x01\x02\xF2\x01\x1A\xF2\x01\x1B\xF2\x01/\xF2\x010\xF2\x012\xF2\x017\xF2\x018\xF2\x01;\xF2\x01P\xF2\x01R\xF2\x01\0\xF3\x01!\xF3\x01-\xF3\x016\xF3\x017\xF3\x01}\xF3\x01~\xF3\x01\x94\xF3\x01\xA0\xF3\x01\xCB\xF3\x01\xCF\xF3\x01\xD4\xF3\x01\xE0\xF3\x01\xF1\xF3\x01\xF4\xF3\x01\xF5\xF3\x01\xF8\xF3\x01?\xF4\x01@\xF4\x01A\xF4\x01B\xF4\x01\xFD\xF4\x01\xFF\xF4\x01>\xF5\x01K\xF5\x01O\xF5\x01P\xF5\x01h\xF5\x01z\xF5\x01{\xF5\x01\x95\xF5\x01\x97\xF5\x01\xA4\xF5\x01\xA5\xF5\x01\xFB\xF5\x01P\xF6\x01\x80\xF6\x01\xC6\xF6\x01\xCC\xF6\x01\xCD\xF6\x01\xD0\xF6\x01\xD3\xF6\x01\xD5\xF6\x01\xD9\xF6\x01\xDC\xF6\x01\xE0\xF6\x01\xEB\xF6\x01\xED\xF6\x01\xF4\xF6\x01\xFD\xF6\x01\xE0\xF7\x01\xEC\xF7\x01\xF0\xF7\x01\xF1\xF7\x01\x0C\xF9\x01;\xF9\x01<\xF9\x01F\xF9\x01G\xF9\x01\0\xFA\x01p\xFA\x01}\xFA\x01\x80\xFA\x01\x8B\xFA\x01\x8E\xFA\x01\xC7\xFA\x01\xC8\xFA\x01\xC9\xFA\x01\xCD\xFA\x01\xDD\xFA\x01\xDF\xFA\x01\xEB\xFA\x01\xEF\xFA\x01\xF9\xFA\x01") }, 1219u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryEmojiPresentationV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryEmojiPresentationV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_EMOJI_PRESENTATION_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryEmojiPresentationV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_emoji_presentation_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiPresentationV1> 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_emoji_presentation_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiPresentationV1> 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::PropertyBinaryEmojiPresentationV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_emoji_presentation_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiPresentationV1> 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::PropertyBinaryEmojiPresentationV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiPresentationV1> 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_emoji_presentation_v1 as impl_property_binary_emoji_presentation_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryEmojiV1>` 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:
/// * 938B[^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_emoji_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_EMOJI_V1: &'static <icu::properties::provider::PropertyBinaryEmojiV1 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"#\0\0$\0\0*\0\0+\0\x000\0\0:\0\0\xA9\0\0\xAA\0\0\xAE\0\0\xAF\0\0< \0= \0I \0J \0\"!\0#!\09!\0:!\0\x94!\0\x9A!\0\xA9!\0\xAB!\0\x1A#\0\x1C#\0(#\0)#\0\xCF#\0\xD0#\0\xE9#\0\xF4#\0\xF8#\0\xFB#\0\xC2$\0\xC3$\0\xAA%\0\xAC%\0\xB6%\0\xB7%\0\xC0%\0\xC1%\0\xFB%\0\xFF%\0\0&\0\x05&\0\x0E&\0\x0F&\0\x11&\0\x12&\0\x14&\0\x16&\0\x18&\0\x19&\0\x1D&\0\x1E&\0 &\0!&\0\"&\0$&\0&&\0'&\0*&\0+&\0.&\x000&\08&\0;&\0@&\0A&\0B&\0C&\0H&\0T&\0_&\0a&\0c&\0d&\0e&\0g&\0h&\0i&\0{&\0|&\0~&\0\x80&\0\x92&\0\x98&\0\x99&\0\x9A&\0\x9B&\0\x9D&\0\xA0&\0\xA2&\0\xA7&\0\xA8&\0\xAA&\0\xAC&\0\xB0&\0\xB2&\0\xBD&\0\xBF&\0\xC4&\0\xC6&\0\xC8&\0\xC9&\0\xCE&\0\xD0&\0\xD1&\0\xD2&\0\xD3&\0\xD5&\0\xE9&\0\xEB&\0\xF0&\0\xF6&\0\xF7&\0\xFB&\0\xFD&\0\xFE&\0\x02'\0\x03'\0\x05'\0\x06'\0\x08'\0\x0E'\0\x0F'\0\x10'\0\x12'\0\x13'\0\x14'\0\x15'\0\x16'\0\x17'\0\x1D'\0\x1E'\0!'\0\"'\0('\0)'\x003'\x005'\0D'\0E'\0G'\0H'\0L'\0M'\0N'\0O'\0S'\0V'\0W'\0X'\0c'\0e'\0\x95'\0\x98'\0\xA1'\0\xA2'\0\xB0'\0\xB1'\0\xBF'\0\xC0'\x004)\x006)\0\x05+\0\x08+\0\x1B+\0\x1D+\0P+\0Q+\0U+\0V+\x0000\x0010\0=0\0>0\0\x972\0\x982\0\x992\0\x9A2\0\x04\xF0\x01\x05\xF0\x01\xCF\xF0\x01\xD0\xF0\x01p\xF1\x01r\xF1\x01~\xF1\x01\x80\xF1\x01\x8E\xF1\x01\x8F\xF1\x01\x91\xF1\x01\x9B\xF1\x01\xE6\xF1\x01\0\xF2\x01\x01\xF2\x01\x03\xF2\x01\x1A\xF2\x01\x1B\xF2\x01/\xF2\x010\xF2\x012\xF2\x01;\xF2\x01P\xF2\x01R\xF2\x01\0\xF3\x01\"\xF3\x01$\xF3\x01\x94\xF3\x01\x96\xF3\x01\x98\xF3\x01\x99\xF3\x01\x9C\xF3\x01\x9E\xF3\x01\xF1\xF3\x01\xF3\xF3\x01\xF6\xF3\x01\xF7\xF3\x01\xFE\xF4\x01\xFF\xF4\x01>\xF5\x01I\xF5\x01O\xF5\x01P\xF5\x01h\xF5\x01o\xF5\x01q\xF5\x01s\xF5\x01{\xF5\x01\x87\xF5\x01\x88\xF5\x01\x8A\xF5\x01\x8E\xF5\x01\x90\xF5\x01\x91\xF5\x01\x95\xF5\x01\x97\xF5\x01\xA4\xF5\x01\xA6\xF5\x01\xA8\xF5\x01\xA9\xF5\x01\xB1\xF5\x01\xB3\xF5\x01\xBC\xF5\x01\xBD\xF5\x01\xC2\xF5\x01\xC5\xF5\x01\xD1\xF5\x01\xD4\xF5\x01\xDC\xF5\x01\xDF\xF5\x01\xE1\xF5\x01\xE2\xF5\x01\xE3\xF5\x01\xE4\xF5\x01\xE8\xF5\x01\xE9\xF5\x01\xEF\xF5\x01\xF0\xF5\x01\xF3\xF5\x01\xF4\xF5\x01\xFA\xF5\x01P\xF6\x01\x80\xF6\x01\xC6\xF6\x01\xCB\xF6\x01\xD3\xF6\x01\xD5\xF6\x01\xD9\xF6\x01\xDC\xF6\x01\xE6\xF6\x01\xE9\xF6\x01\xEA\xF6\x01\xEB\xF6\x01\xED\xF6\x01\xF0\xF6\x01\xF1\xF6\x01\xF3\xF6\x01\xFD\xF6\x01\xE0\xF7\x01\xEC\xF7\x01\xF0\xF7\x01\xF1\xF7\x01\x0C\xF9\x01;\xF9\x01<\xF9\x01F\xF9\x01G\xF9\x01\0\xFA\x01p\xFA\x01}\xFA\x01\x80\xFA\x01\x8B\xFA\x01\x8E\xFA\x01\xC7\xFA\x01\xC8\xFA\x01\xC9\xFA\x01\xCD\xFA\x01\xDD\xFA\x01\xDF\xFA\x01\xEB\xFA\x01\xEF\xFA\x01\xF9\xFA\x01") }, 1438u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryEmojiV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryEmojiV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_EMOJI_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryEmojiV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_emoji_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiV1> 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_emoji_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiV1> 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::PropertyBinaryEmojiV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_emoji_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryEmojiV1> 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::PropertyBinaryEmojiV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryEmojiV1> 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_emoji_v1 as impl_property_binary_emoji_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryExtendedPictographicV1>` 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:
/// * 968B[^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_extended_pictographic_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_EXTENDED_PICTOGRAPHIC_V1: &'static <icu::properties::provider::PropertyBinaryExtendedPictographicV1 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"\xA9\0\0\xAA\0\0\xAE\0\0\xAF\0\0< \0= \0I \0J \0\"!\0#!\09!\0:!\0\x94!\0\x9A!\0\xA9!\0\xAB!\0\x1A#\0\x1C#\0(#\0)#\0\xCF#\0\xD0#\0\xE9#\0\xF4#\0\xF8#\0\xFB#\0\xC2$\0\xC3$\0\xAA%\0\xAC%\0\xB6%\0\xB7%\0\xC0%\0\xC1%\0\xFB%\0\xFF%\0\0&\0\x05&\0\x0E&\0\x0F&\0\x11&\0\x12&\0\x14&\0\x16&\0\x18&\0\x19&\0\x1D&\0\x1E&\0 &\0!&\0\"&\0$&\0&&\0'&\0*&\0+&\0.&\x000&\08&\0;&\0@&\0A&\0B&\0C&\0H&\0T&\0_&\0a&\0c&\0d&\0e&\0g&\0h&\0i&\0{&\0|&\0~&\0\x80&\0\x92&\0\x98&\0\x99&\0\x9A&\0\x9B&\0\x9D&\0\xA0&\0\xA2&\0\xA7&\0\xA8&\0\xAA&\0\xAC&\0\xB0&\0\xB2&\0\xBD&\0\xBF&\0\xC4&\0\xC6&\0\xC8&\0\xC9&\0\xCE&\0\xD0&\0\xD1&\0\xD2&\0\xD3&\0\xD5&\0\xE9&\0\xEB&\0\xF0&\0\xF6&\0\xF7&\0\xFB&\0\xFD&\0\xFE&\0\x02'\0\x03'\0\x05'\0\x06'\0\x08'\0\x0E'\0\x0F'\0\x10'\0\x12'\0\x13'\0\x14'\0\x15'\0\x16'\0\x17'\0\x1D'\0\x1E'\0!'\0\"'\0('\0)'\x003'\x005'\0D'\0E'\0G'\0H'\0L'\0M'\0N'\0O'\0S'\0V'\0W'\0X'\0c'\0e'\0\x95'\0\x98'\0\xA1'\0\xA2'\0\xB0'\0\xB1'\0\xBF'\0\xC0'\x004)\x006)\0\x05+\0\x08+\0\x1B+\0\x1D+\0P+\0Q+\0U+\0V+\x0000\x0010\0=0\0>0\0\x972\0\x982\0\x992\0\x9A2\0\x04\xF0\x01\x05\xF0\x01,\xF0\x010\xF0\x01\x94\xF0\x01\xA0\xF0\x01\xAF\xF0\x01\xB1\xF0\x01\xC0\xF0\x01\xC1\xF0\x01\xCF\xF0\x01\xD1\xF0\x01\xF6\xF0\x01\0\xF1\x01p\xF1\x01r\xF1\x01~\xF1\x01\x80\xF1\x01\x8E\xF1\x01\x8F\xF1\x01\x91\xF1\x01\x9B\xF1\x01\xAE\xF1\x01\xE6\xF1\x01\x01\xF2\x01\x10\xF2\x01\x1A\xF2\x01\x1B\xF2\x01/\xF2\x010\xF2\x012\xF2\x01;\xF2\x01<\xF2\x01@\xF2\x01I\xF2\x01`\xF2\x01f\xF2\x01\"\xF3\x01$\xF3\x01\x94\xF3\x01\x96\xF3\x01\x98\xF3\x01\x99\xF3\x01\x9C\xF3\x01\x9E\xF3\x01\xF1\xF3\x01\xF3\xF3\x01\xF6\xF3\x01\xF7\xF3\x01\xFB\xF3\x01\0\xF4\x01\xFE\xF4\x01\xFF\xF4\x01>\xF5\x01I\xF5\x01O\xF5\x01P\xF5\x01h\xF5\x01o\xF5\x01q\xF5\x01s\xF5\x01{\xF5\x01\x87\xF5\x01\x88\xF5\x01\x8A\xF5\x01\x8E\xF5\x01\x90\xF5\x01\x91\xF5\x01\x95\xF5\x01\x97\xF5\x01\xA4\xF5\x01\xA6\xF5\x01\xA8\xF5\x01\xA9\xF5\x01\xB1\xF5\x01\xB3\xF5\x01\xBC\xF5\x01\xBD\xF5\x01\xC2\xF5\x01\xC5\xF5\x01\xD1\xF5\x01\xD4\xF5\x01\xDC\xF5\x01\xDF\xF5\x01\xE1\xF5\x01\xE2\xF5\x01\xE3\xF5\x01\xE4\xF5\x01\xE8\xF5\x01\xE9\xF5\x01\xEF\xF5\x01\xF0\xF5\x01\xF3\xF5\x01\xF4\xF5\x01\xFA\xF5\x01P\xF6\x01\x80\xF6\x01\xC6\xF6\x01\xCB\xF6\x01\xD3\xF6\x01\xD5\xF6\x01\xE6\xF6\x01\xE9\xF6\x01\xEA\xF6\x01\xEB\xF6\x01\xF1\xF6\x01\xF3\xF6\x01\0\xF7\x01\xDA\xF7\x01\0\xF8\x01\x0C\xF8\x01\x10\xF8\x01H\xF8\x01P\xF8\x01Z\xF8\x01`\xF8\x01\x88\xF8\x01\x90\xF8\x01\xAE\xF8\x01\xB0\xF8\x01\xBC\xF8\x01\xC0\xF8\x01\xC2\xF8\x01\xD0\xF8\x01\xD9\xF8\x01\0\xF9\x01\x0C\xF9\x01;\xF9\x01<\xF9\x01F\xF9\x01G\xF9\x01\0\xFA\x01X\xFA\x01`\xFA\x01n\xFA\x01\0\xFB\x01\0\xFC\x01\xFE\xFF\x01") }, 2848u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryExtendedPictographicV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryExtendedPictographicV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_EXTENDED_PICTOGRAPHIC_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryExtendedPictographicV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_extended_pictographic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryExtendedPictographicV1> 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_extended_pictographic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryExtendedPictographicV1> 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::PropertyBinaryExtendedPictographicV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_extended_pictographic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryExtendedPictographicV1> 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::PropertyBinaryExtendedPictographicV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryExtendedPictographicV1> 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_extended_pictographic_v1 as impl_property_binary_extended_pictographic_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryExtenderV1>` 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:
/// * 290B[^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_extender_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_EXTENDER_V1: &'static <icu::properties::provider::PropertyBinaryExtenderV1 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"\xB7\0\0\xB8\0\0\xD0\x02\0\xD2\x02\0@\x06\0A\x06\0\xFA\x07\0\xFB\x07\0q\n\0r\n\0\xFB\n\0\xFC\n\0U\x0B\0V\x0B\0F\x0E\0G\x0E\0\xC6\x0E\0\xC7\x0E\0\n\x18\0\x0B\x18\0C\x18\0D\x18\0\xA7\x1A\0\xA8\x1A\x006\x1C\x007\x1C\0{\x1C\0|\x1C\0\x050\0\x060\x0010\x0060\0\x9D0\0\x9F0\0\xFC0\0\xFF0\0\x15\xA0\0\x16\xA0\0\x0C\xA6\0\r\xA6\0\xCF\xA9\0\xD0\xA9\0\xE6\xA9\0\xE7\xA9\0p\xAA\0q\xAA\0\xDD\xAA\0\xDE\xAA\0\xF3\xAA\0\xF5\xAA\0p\xFF\0q\xFF\0\x81\x07\x01\x83\x07\x01N\r\x01O\r\x01j\r\x01k\r\x01o\r\x01p\r\x017\x12\x018\x12\x01]\x13\x01^\x13\x01\xD2\x13\x01\xD4\x13\x01\xC6\x15\x01\xC9\x15\x01\x98\x1A\x01\x99\x1A\x01\xD9\x1D\x01\xDA\x1D\x01Bk\x01Dk\x01\xE0o\x01\xE2o\x01\xE3o\x01\xE4o\x01\xF2o\x01\xF4o\x01<\xE1\x01>\xE1\x01\xEF\xE5\x01\xF0\xE5\x01D\xE9\x01G\xE9\x01") }, 62u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryExtenderV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryExtenderV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_EXTENDER_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryExtenderV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_extender_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryExtenderV1> 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_extender_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryExtenderV1> 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::PropertyBinaryExtenderV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_extender_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryExtenderV1> 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::PropertyBinaryExtenderV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryExtenderV1> 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_extender_v1 as impl_property_binary_extender_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryFullCompositionExclusionV1>` 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:
/// * 470B[^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_full_composition_exclusion_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_FULL_COMPOSITION_EXCLUSION_V1: &'static <icu::properties::provider::PropertyBinaryFullCompositionExclusionV1 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"@\x03\0B\x03\0C\x03\0E\x03\0t\x03\0u\x03\0~\x03\0\x7F\x03\0\x87\x03\0\x88\x03\0X\t\0`\t\0\xDC\t\0\xDE\t\0\xDF\t\0\xE0\t\x003\n\x004\n\x006\n\x007\n\0Y\n\0\\\n\0^\n\0_\n\0\\\x0B\0^\x0B\0C\x0F\0D\x0F\0M\x0F\0N\x0F\0R\x0F\0S\x0F\0W\x0F\0X\x0F\0\\\x0F\0]\x0F\0i\x0F\0j\x0F\0s\x0F\0t\x0F\0u\x0F\0w\x0F\0x\x0F\0y\x0F\0\x81\x0F\0\x82\x0F\0\x93\x0F\0\x94\x0F\0\x9D\x0F\0\x9E\x0F\0\xA2\x0F\0\xA3\x0F\0\xA7\x0F\0\xA8\x0F\0\xAC\x0F\0\xAD\x0F\0\xB9\x0F\0\xBA\x0F\0q\x1F\0r\x1F\0s\x1F\0t\x1F\0u\x1F\0v\x1F\0w\x1F\0x\x1F\0y\x1F\0z\x1F\0{\x1F\0|\x1F\0}\x1F\0~\x1F\0\xBB\x1F\0\xBC\x1F\0\xBE\x1F\0\xBF\x1F\0\xC9\x1F\0\xCA\x1F\0\xCB\x1F\0\xCC\x1F\0\xD3\x1F\0\xD4\x1F\0\xDB\x1F\0\xDC\x1F\0\xE3\x1F\0\xE4\x1F\0\xEB\x1F\0\xEC\x1F\0\xEE\x1F\0\xF0\x1F\0\xF9\x1F\0\xFA\x1F\0\xFB\x1F\0\xFC\x1F\0\xFD\x1F\0\xFE\x1F\0\0 \0\x02 \0&!\0'!\0*!\0,!\0)#\0+#\0\xDC*\0\xDD*\0\0\xF9\0\x0E\xFA\0\x10\xFA\0\x11\xFA\0\x12\xFA\0\x13\xFA\0\x15\xFA\0\x1F\xFA\0 \xFA\0!\xFA\0\"\xFA\0#\xFA\0%\xFA\0'\xFA\0*\xFA\0n\xFA\0p\xFA\0\xDA\xFA\0\x1D\xFB\0\x1E\xFB\0\x1F\xFB\0 \xFB\0*\xFB\x007\xFB\08\xFB\0=\xFB\0>\xFB\0?\xFB\0@\xFB\0B\xFB\0C\xFB\0E\xFB\0F\xFB\0O\xFB\0^\xD1\x01e\xD1\x01\xBB\xD1\x01\xC1\xD1\x01\0\xF8\x02\x1E\xFA\x02") }, 1120u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryFullCompositionExclusionV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryFullCompositionExclusionV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_FULL_COMPOSITION_EXCLUSION_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryFullCompositionExclusionV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_full_composition_exclusion_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryFullCompositionExclusionV1> 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_full_composition_exclusion_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryFullCompositionExclusionV1> 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::PropertyBinaryFullCompositionExclusionV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_full_composition_exclusion_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryFullCompositionExclusionV1> 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::PropertyBinaryFullCompositionExclusionV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryFullCompositionExclusionV1> 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_full_composition_exclusion_v1 as impl_property_binary_full_composition_exclusion_v1;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryGraphemeLinkV1>` 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:
/// * 380B[^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_grapheme_link_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_GRAPHEME_LINK_V1: &'static <icu::properties::provider::PropertyBinaryGraphemeLinkV1 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"M\t\0N\t\0\xCD\t\0\xCE\t\0M\n\0N\n\0\xCD\n\0\xCE\n\0M\x0B\0N\x0B\0\xCD\x0B\0\xCE\x0B\0M\x0C\0N\x0C\0\xCD\x0C\0\xCE\x0C\0;\r\0=\r\0M\r\0N\r\0\xCA\r\0\xCB\r\0:\x0E\0;\x0E\0\xBA\x0E\0\xBB\x0E\0\x84\x0F\0\x85\x0F\09\x10\0;\x10\0\x14\x17\0\x16\x17\x004\x17\x005\x17\0\xD2\x17\0\xD3\x17\0`\x1A\0a\x1A\0D\x1B\0E\x1B\0\xAA\x1B\0\xAC\x1B\0\xF2\x1B\0\xF4\x1B\0\x7F-\0\x80-\0\x06\xA8\0\x07\xA8\0,\xA8\0-\xA8\0\xC4\xA8\0\xC5\xA8\0S\xA9\0T\xA9\0\xC0\xA9\0\xC1\xA9\0\xF6\xAA\0\xF7\xAA\0\xED\xAB\0\xEE\xAB\0?\n\x01@\n\x01F\x10\x01G\x10\x01p\x10\x01q\x10\x01\x7F\x10\x01\x80\x10\x01\xB9\x10\x01\xBA\x10\x013\x11\x015\x11\x01\xC0\x11\x01\xC1\x11\x015\x12\x016\x12\x01\xEA\x12\x01\xEB\x12\x01M\x13\x01N\x13\x01\xCE\x13\x01\xD1\x13\x01B\x14\x01C\x14\x01\xC2\x14\x01\xC3\x14\x01\xBF\x15\x01\xC0\x15\x01?\x16\x01@\x16\x01\xB6\x16\x01\xB7\x16\x01+\x17\x01,\x17\x019\x18\x01:\x18\x01=\x19\x01?\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\x01D\x1D\x01F\x1D\x01\x97\x1D\x01\x98\x1D\x01A\x1F\x01C\x1F\x01/a\x010a\x01") }, 69u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryGraphemeLinkV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryGraphemeLinkV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_GRAPHEME_LINK_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryGraphemeLinkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_grapheme_link_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryGraphemeLinkV1> 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_grapheme_link_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryGraphemeLinkV1> 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::PropertyBinaryGraphemeLinkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_grapheme_link_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryGraphemeLinkV1> 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::PropertyBinaryGraphemeLinkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryGraphemeLinkV1> 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_grapheme_link_v1 as impl_property_binary_grapheme_link_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryHexDigitV1>` 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:
/// * 68B[^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_hex_digit_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_HEX_DIGIT_V1: &'static <icu::properties::provider::PropertyBinaryHexDigitV1 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"0\0\0:\0\0A\0\0G\0\0a\0\0g\0\0\x10\xFF\0\x1A\xFF\0!\xFF\0'\xFF\0A\xFF\0G\xFF\0") }, 44u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryHexDigitV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryHexDigitV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_HEX_DIGIT_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryHexDigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_hex_digit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryHexDigitV1> 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_hex_digit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryHexDigitV1> 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::PropertyBinaryHexDigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_hex_digit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryHexDigitV1> 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::PropertyBinaryHexDigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryHexDigitV1> 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_hex_digit_v1 as impl_property_binary_hex_digit_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryHyphenV1>` 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:
/// * 92B[^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_hyphen_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_HYPHEN_V1: &'static <icu::properties::provider::PropertyBinaryHyphenV1 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"-\0\0.\0\0\xAD\0\0\xAE\0\0\x8A\x05\0\x8B\x05\0\x06\x18\0\x07\x18\0\x10 \0\x12 \0\x17.\0\x18.\0\xFB0\0\xFC0\0c\xFE\0d\xFE\0\r\xFF\0\x0E\xFF\0e\xFF\0f\xFF\0") }, 11u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryHyphenV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryHyphenV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_HYPHEN_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryHyphenV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_hyphen_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryHyphenV1> 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_hyphen_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryHyphenV1> 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::PropertyBinaryHyphenV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_hyphen_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryHyphenV1> 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::PropertyBinaryHyphenV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryHyphenV1> 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_hyphen_v1 as impl_property_binary_hyphen_v1;

View File

@@ -0,0 +1,83 @@
// @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.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
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.83"]
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.83"]
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.83"]
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.83"]
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.83"]
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;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryIdCompatMathStartV1>` 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:
/// * 110B[^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_start_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_ID_COMPAT_MATH_START_V1: &'static <icu::properties::provider::PropertyBinaryIdCompatMathStartV1 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"\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") }, 13u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryIdCompatMathStartV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryIdCompatMathStartV1>, 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_START_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdCompatMathStartV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_id_compat_math_start_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathStartV1> 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_start_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathStartV1> 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::PropertyBinaryIdCompatMathStartV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_id_compat_math_start_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathStartV1> 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::PropertyBinaryIdCompatMathStartV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdCompatMathStartV1> 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_start_v1 as impl_property_binary_id_compat_math_start_v1;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryIdeographicV1>` 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:
/// * 158B[^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_ideographic_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_IDEOGRAPHIC_V1: &'static <icu::properties::provider::PropertyBinaryIdeographicV1 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"\x060\0\x080\0!0\0*0\080\0;0\0\x004\0\xC0M\0\0N\0\0\xA0\0\0\xF9\0n\xFA\0p\xFA\0\xDA\xFA\0\xE4o\x01\xE5o\x01\xF2o\x01\xF7o\x01\0p\x01\xD6\x8C\x01\xFF\x8C\x01\x1F\x8D\x01\x80\x8D\x01\xF3\x8D\x01p\xB1\x01\xFC\xB2\x01\0\0\x02\xE0\xA6\x02\0\xA7\x02\x1E\xB8\x02 \xB8\x02\xAE\xCE\x02\xB0\xCE\x02\xE1\xEB\x02\xF0\xEB\x02^\xEE\x02\0\xF8\x02\x1E\xFA\x02\0\0\x03K\x13\x03P\x13\x03z4\x03") }, 110943u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryIdeographicV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryIdeographicV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_IDEOGRAPHIC_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdeographicV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_ideographic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdeographicV1> 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_ideographic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdeographicV1> 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::PropertyBinaryIdeographicV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_ideographic_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdeographicV1> 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::PropertyBinaryIdeographicV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdeographicV1> 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_ideographic_v1 as impl_property_binary_ideographic_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryIdsBinaryOperatorV1>` 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:
/// * 50B[^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_ids_binary_operator_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_IDS_BINARY_OPERATOR_V1: &'static <icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1 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"\xF0/\0\xF2/\0\xF4/\0\xFE/\0\xEF1\0\xF01\0") }, 13u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_IDS_BINARY_OPERATOR_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_ids_binary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1> 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_ids_binary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1> 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::PropertyBinaryIdsBinaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_ids_binary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1> 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::PropertyBinaryIdsBinaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdsBinaryOperatorV1> 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_ids_binary_operator_v1 as impl_property_binary_ids_binary_operator_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryIdsTrinaryOperatorV1>` 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:
/// * 38B[^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_ids_trinary_operator_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_IDS_TRINARY_OPERATOR_V1: &'static <icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1 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"\xF2/\0\xF4/\0") }, 2u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_IDS_TRINARY_OPERATOR_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_ids_trinary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1> 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_ids_trinary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1> 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::PropertyBinaryIdsTrinaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_ids_trinary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1> 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::PropertyBinaryIdsTrinaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdsTrinaryOperatorV1> 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_ids_trinary_operator_v1 as impl_property_binary_ids_trinary_operator_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryIdsUnaryOperatorV1>` 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:
/// * 38B[^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_ids_unary_operator_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_IDS_UNARY_OPERATOR_V1: &'static <icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1 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"\xFE/\0\x000\0") }, 2u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_IDS_UNARY_OPERATOR_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_ids_unary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1> 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_ids_unary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1> 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::PropertyBinaryIdsUnaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_ids_unary_operator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1> 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::PropertyBinaryIdsUnaryOperatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryIdsUnaryOperatorV1> 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_ids_unary_operator_v1 as impl_property_binary_ids_unary_operator_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryJoinControlV1>` 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:
/// * 38B[^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_join_control_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_JOIN_CONTROL_V1: &'static <icu::properties::provider::PropertyBinaryJoinControlV1 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"\x0C \0\x0E \0") }, 2u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryJoinControlV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryJoinControlV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_JOIN_CONTROL_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryJoinControlV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_join_control_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryJoinControlV1> 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_join_control_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryJoinControlV1> 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::PropertyBinaryJoinControlV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_join_control_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryJoinControlV1> 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::PropertyBinaryJoinControlV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryJoinControlV1> 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_join_control_v1 as impl_property_binary_join_control_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryLogicalOrderExceptionV1>` 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:
/// * 74B[^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_logical_order_exception_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_LOGICAL_ORDER_EXCEPTION_V1: &'static <icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1 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"@\x0E\0E\x0E\0\xC0\x0E\0\xC5\x0E\0\xB5\x19\0\xB8\x19\0\xBA\x19\0\xBB\x19\0\xB5\xAA\0\xB7\xAA\0\xB9\xAA\0\xBA\xAA\0\xBB\xAA\0\xBD\xAA\0") }, 19u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_LOGICAL_ORDER_EXCEPTION_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_logical_order_exception_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1> 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_logical_order_exception_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1> 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::PropertyBinaryLogicalOrderExceptionV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_logical_order_exception_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1> 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::PropertyBinaryLogicalOrderExceptionV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryLogicalOrderExceptionV1> 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_logical_order_exception_v1 as impl_property_binary_logical_order_exception_v1;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryMathV1>` 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:
/// * 878B[^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_math_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_MATH_V1: &'static <icu::properties::provider::PropertyBinaryMathV1 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"+\0\0,\0\0<\0\0?\0\0^\0\0_\0\0|\0\0}\0\0~\0\0\x7F\0\0\xAC\0\0\xAD\0\0\xB1\0\0\xB2\0\0\xD7\0\0\xD8\0\0\xF7\0\0\xF8\0\0\xD0\x03\0\xD3\x03\0\xD5\x03\0\xD6\x03\0\xF0\x03\0\xF2\x03\0\xF4\x03\0\xF7\x03\0\x06\x06\0\t\x06\0\x16 \0\x17 \x002 \x005 \0@ \0A \0D \0E \0R \0S \0a \0e \0z \0\x7F \0\x8A \0\x8F \0\xD0 \0\xDD \0\xE1 \0\xE2 \0\xE5 \0\xE7 \0\xEB \0\xF0 \0\x02!\0\x03!\0\x07!\0\x08!\0\n!\0\x14!\0\x15!\0\x16!\0\x18!\0\x1E!\0$!\0%!\0(!\0*!\0,!\0.!\0/!\x002!\x003!\09!\0<!\0J!\0K!\0L!\0\x90!\0\xA8!\0\xA9!\0\xAF!\0\xB0!\0\xB2!\0\xB6!\0\xB8!\0\xBC!\0\xDC!\0\xDD!\0\xDE!\0\xE4!\0\xE6!\0\xF4!\0\0#\0\x08#\0\x0C#\0 #\0\"#\0|#\0}#\0\x9B#\0\xB6#\0\xB7#\0\xB8#\0\xD0#\0\xD1#\0\xDC#\0\xE3#\0\xA0%\0\xA2%\0\xAE%\0\xB8%\0\xBC%\0\xC2%\0\xC6%\0\xC8%\0\xCA%\0\xCC%\0\xCF%\0\xD4%\0\xE2%\0\xE3%\0\xE4%\0\xE5%\0\xE7%\0\xED%\0\xF8%\0\0&\0\x05&\0\x07&\0@&\0A&\0B&\0C&\0`&\0d&\0m&\0p&\0\xC0'\0\0(\0\0)\0\0+\x000+\0E+\0G+\0M+\0)\xFB\0*\xFB\0a\xFE\0g\xFE\0h\xFE\0i\xFE\0\x0B\xFF\0\x0C\xFF\0\x1C\xFF\0\x1F\xFF\0<\xFF\0=\xFF\0>\xFF\0?\xFF\0\\\xFF\0]\xFF\0^\xFF\0_\xFF\0\xE2\xFF\0\xE3\xFF\0\xE9\xFF\0\xED\xFF\0\x8E\r\x01\x90\r\x01\xF0\xCE\x01\xF1\xCE\x01\0\xD4\x01U\xD4\x01V\xD4\x01\x9D\xD4\x01\x9E\xD4\x01\xA0\xD4\x01\xA2\xD4\x01\xA3\xD4\x01\xA5\xD4\x01\xA7\xD4\x01\xA9\xD4\x01\xAD\xD4\x01\xAE\xD4\x01\xBA\xD4\x01\xBB\xD4\x01\xBC\xD4\x01\xBD\xD4\x01\xC4\xD4\x01\xC5\xD4\x01\x06\xD5\x01\x07\xD5\x01\x0B\xD5\x01\r\xD5\x01\x15\xD5\x01\x16\xD5\x01\x1D\xD5\x01\x1E\xD5\x01:\xD5\x01;\xD5\x01?\xD5\x01@\xD5\x01E\xD5\x01F\xD5\x01G\xD5\x01J\xD5\x01Q\xD5\x01R\xD5\x01\xA6\xD6\x01\xA8\xD6\x01\xCC\xD7\x01\xCE\xD7\x01\0\xD8\x01\0\xEE\x01\x04\xEE\x01\x05\xEE\x01 \xEE\x01!\xEE\x01#\xEE\x01$\xEE\x01%\xEE\x01'\xEE\x01(\xEE\x01)\xEE\x013\xEE\x014\xEE\x018\xEE\x019\xEE\x01:\xEE\x01;\xEE\x01<\xEE\x01B\xEE\x01C\xEE\x01G\xEE\x01H\xEE\x01I\xEE\x01J\xEE\x01K\xEE\x01L\xEE\x01M\xEE\x01P\xEE\x01Q\xEE\x01S\xEE\x01T\xEE\x01U\xEE\x01W\xEE\x01X\xEE\x01Y\xEE\x01Z\xEE\x01[\xEE\x01\\\xEE\x01]\xEE\x01^\xEE\x01_\xEE\x01`\xEE\x01a\xEE\x01c\xEE\x01d\xEE\x01e\xEE\x01g\xEE\x01k\xEE\x01l\xEE\x01s\xEE\x01t\xEE\x01x\xEE\x01y\xEE\x01}\xEE\x01~\xEE\x01\x7F\xEE\x01\x80\xEE\x01\x8A\xEE\x01\x8B\xEE\x01\x9C\xEE\x01\xA1\xEE\x01\xA4\xEE\x01\xA5\xEE\x01\xAA\xEE\x01\xAB\xEE\x01\xBC\xEE\x01\xF0\xEE\x01\xF2\xEE\x01\xD0\xF8\x01\xD9\xF8\x01") }, 2322u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryMathV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryMathV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_MATH_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryMathV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_math_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryMathV1> 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_math_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryMathV1> 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::PropertyBinaryMathV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_math_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryMathV1> 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::PropertyBinaryMathV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryMathV1> 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_math_v1 as impl_property_binary_math_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryModifierCombiningMarkV1>` 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:
/// * 86B[^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_modifier_combining_mark_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_MODIFIER_COMBINING_MARK_V1: &'static <icu::properties::provider::PropertyBinaryModifierCombiningMarkV1 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"T\x06\0V\x06\0X\x06\0Y\x06\0\xDC\x06\0\xDD\x06\0\xE3\x06\0\xE4\x06\0\xE7\x06\0\xE9\x06\0\xCA\x08\0\xCC\x08\0\xCD\x08\0\xD0\x08\0\xD3\x08\0\xD4\x08\0\xF3\x08\0\xF4\x08\0") }, 14u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryModifierCombiningMarkV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryModifierCombiningMarkV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_MODIFIER_COMBINING_MARK_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryModifierCombiningMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_modifier_combining_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryModifierCombiningMarkV1> 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_modifier_combining_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryModifierCombiningMarkV1> 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::PropertyBinaryModifierCombiningMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_modifier_combining_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryModifierCombiningMarkV1> 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::PropertyBinaryModifierCombiningMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryModifierCombiningMarkV1> 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_modifier_combining_mark_v1 as impl_property_binary_modifier_combining_mark_v1;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryNoncharacterCodePointV1>` 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_noncharacter_code_point_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_NONCHARACTER_CODE_POINT_V1: &'static <icu::properties::provider::PropertyBinaryNoncharacterCodePointV1 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"\xD0\xFD\0\xF0\xFD\0\xFE\xFF\0\0\0\x01\xFE\xFF\x01\0\0\x02\xFE\xFF\x02\0\0\x03\xFE\xFF\x03\0\0\x04\xFE\xFF\x04\0\0\x05\xFE\xFF\x05\0\0\x06\xFE\xFF\x06\0\0\x07\xFE\xFF\x07\0\0\x08\xFE\xFF\x08\0\0\t\xFE\xFF\t\0\0\n\xFE\xFF\n\0\0\x0B\xFE\xFF\x0B\0\0\x0C\xFE\xFF\x0C\0\0\r\xFE\xFF\r\0\0\x0E\xFE\xFF\x0E\0\0\x0F\xFE\xFF\x0F\0\0\x10\xFE\xFF\x10\0\0\x11") }, 66u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryNoncharacterCodePointV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryNoncharacterCodePointV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_NONCHARACTER_CODE_POINT_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryNoncharacterCodePointV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_noncharacter_code_point_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryNoncharacterCodePointV1> 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_noncharacter_code_point_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryNoncharacterCodePointV1> 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::PropertyBinaryNoncharacterCodePointV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_noncharacter_code_point_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryNoncharacterCodePointV1> 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::PropertyBinaryNoncharacterCodePointV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryNoncharacterCodePointV1> 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_noncharacter_code_point_v1 as impl_property_binary_noncharacter_code_point_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryPatternSyntaxV1>` 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:
/// * 200B[^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_pattern_syntax_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_PATTERN_SYNTAX_V1: &'static <icu::properties::provider::PropertyBinaryPatternSyntaxV1 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"!\0\x000\0\0:\0\0A\0\0[\0\0_\0\0`\0\0a\0\0{\0\0\x7F\0\0\xA1\0\0\xA8\0\0\xA9\0\0\xAA\0\0\xAB\0\0\xAD\0\0\xAE\0\0\xAF\0\0\xB0\0\0\xB2\0\0\xB6\0\0\xB7\0\0\xBB\0\0\xBC\0\0\xBF\0\0\xC0\0\0\xD7\0\0\xD8\0\0\xF7\0\0\xF8\0\0\x10 \0( \x000 \0? \0A \0T \0U \0_ \0\x90!\0`$\0\0%\0v'\0\x94'\0\0,\0\0.\0\x80.\0\x010\0\x040\0\x080\0!0\x0000\x0010\0>\xFD\0@\xFD\0E\xFE\0G\xFE\0") }, 2760u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryPatternSyntaxV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryPatternSyntaxV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_PATTERN_SYNTAX_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryPatternSyntaxV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_pattern_syntax_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryPatternSyntaxV1> 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_pattern_syntax_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryPatternSyntaxV1> 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::PropertyBinaryPatternSyntaxV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_pattern_syntax_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryPatternSyntaxV1> 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::PropertyBinaryPatternSyntaxV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryPatternSyntaxV1> 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_pattern_syntax_v1 as impl_property_binary_pattern_syntax_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryPatternWhiteSpaceV1>` 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:
/// * 62B[^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_pattern_white_space_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_PATTERN_WHITE_SPACE_V1: &'static <icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1 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"\t\0\0\x0E\0\0 \0\0!\0\0\x85\0\0\x86\0\0\x0E \0\x10 \0( \0* \0") }, 11u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_PATTERN_WHITE_SPACE_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_pattern_white_space_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1> 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_pattern_white_space_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1> 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::PropertyBinaryPatternWhiteSpaceV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_pattern_white_space_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1> 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::PropertyBinaryPatternWhiteSpaceV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryPatternWhiteSpaceV1> 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_pattern_white_space_v1 as impl_property_binary_pattern_white_space_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryPrependedConcatenationMarkV1>` 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:
/// * 74B[^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_prepended_concatenation_mark_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_PREPENDED_CONCATENATION_MARK_V1: &'static <icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1 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"\0\x06\0\x06\x06\0\xDD\x06\0\xDE\x06\0\x0F\x07\0\x10\x07\0\x90\x08\0\x92\x08\0\xE2\x08\0\xE3\x08\0\xBD\x10\x01\xBE\x10\x01\xCD\x10\x01\xCE\x10\x01") }, 13u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_PREPENDED_CONCATENATION_MARK_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_prepended_concatenation_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1> 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_prepended_concatenation_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1> 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::PropertyBinaryPrependedConcatenationMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_prepended_concatenation_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1> 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::PropertyBinaryPrependedConcatenationMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryPrependedConcatenationMarkV1> 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_prepended_concatenation_mark_v1 as impl_property_binary_prepended_concatenation_mark_v1;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryQuotationMarkV1>` 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:
/// * 110B[^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_quotation_mark_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_QUOTATION_MARK_V1: &'static <icu::properties::provider::PropertyBinaryQuotationMarkV1 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"\"\0\0#\0\0'\0\0(\0\0\xAB\0\0\xAC\0\0\xBB\0\0\xBC\0\0\x18 \0 \09 \0; \0B.\0C.\0\x0C0\0\x100\0\x1D0\0 0\0A\xFE\0E\xFE\0\x02\xFF\0\x03\xFF\0\x07\xFF\0\x08\xFF\0b\xFF\0d\xFF\0") }, 30u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryQuotationMarkV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryQuotationMarkV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_QUOTATION_MARK_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryQuotationMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_quotation_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryQuotationMarkV1> 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_quotation_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryQuotationMarkV1> 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::PropertyBinaryQuotationMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_quotation_mark_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryQuotationMarkV1> 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::PropertyBinaryQuotationMarkV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryQuotationMarkV1> 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_quotation_mark_v1 as impl_property_binary_quotation_mark_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryRadicalV1>` 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:
/// * 50B[^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_radical_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_RADICAL_V1: &'static <icu::properties::provider::PropertyBinaryRadicalV1 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"\x80.\0\x9A.\0\x9B.\0\xF4.\0\0/\0\xD6/\0") }, 329u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryRadicalV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryRadicalV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_RADICAL_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryRadicalV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_radical_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryRadicalV1> 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_radical_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryRadicalV1> 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::PropertyBinaryRadicalV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_radical_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryRadicalV1> 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::PropertyBinaryRadicalV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryRadicalV1> 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_radical_v1 as impl_property_binary_radical_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryRegionalIndicatorV1>` 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:
/// * 38B[^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_regional_indicator_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_REGIONAL_INDICATOR_V1: &'static <icu::properties::provider::PropertyBinaryRegionalIndicatorV1 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"\xE6\xF1\x01\0\xF2\x01") }, 26u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryRegionalIndicatorV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryRegionalIndicatorV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_REGIONAL_INDICATOR_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryRegionalIndicatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_regional_indicator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryRegionalIndicatorV1> 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_regional_indicator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryRegionalIndicatorV1> 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::PropertyBinaryRegionalIndicatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_regional_indicator_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryRegionalIndicatorV1> 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::PropertyBinaryRegionalIndicatorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryRegionalIndicatorV1> 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_regional_indicator_v1 as impl_property_binary_regional_indicator_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinarySegmentStarterV1>` 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:
/// * 1442B[^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_segment_starter_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_SEGMENT_STARTER_V1: &'static <icu::properties::provider::PropertyBinarySegmentStarterV1 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"\0\0\0\0\x03\0O\x03\0P\x03\0p\x03\0\x83\x04\0\x88\x04\0\x91\x05\0\xBE\x05\0\xBF\x05\0\xC0\x05\0\xC1\x05\0\xC3\x05\0\xC4\x05\0\xC6\x05\0\xC7\x05\0\xC8\x05\0\x10\x06\0\x1B\x06\0K\x06\0`\x06\0p\x06\0q\x06\0\xD6\x06\0\xDD\x06\0\xDF\x06\0\xE5\x06\0\xE7\x06\0\xE9\x06\0\xEA\x06\0\xEE\x06\0\x11\x07\0\x12\x07\x000\x07\0K\x07\0\xEB\x07\0\xF4\x07\0\xFD\x07\0\xFE\x07\0\x16\x08\0\x1A\x08\0\x1B\x08\0$\x08\0%\x08\0(\x08\0)\x08\0.\x08\0Y\x08\0\\\x08\0\x97\x08\0\xA0\x08\0\xCA\x08\0\xE2\x08\0\xE3\x08\0\0\t\0<\t\0=\t\0M\t\0N\t\0Q\t\0U\t\0\xBC\t\0\xBD\t\0\xBE\t\0\xBF\t\0\xCD\t\0\xCE\t\0\xD7\t\0\xD8\t\0\xFE\t\0\xFF\t\0<\n\0=\n\0M\n\0N\n\0\xBC\n\0\xBD\n\0\xCD\n\0\xCE\n\0<\x0B\0=\x0B\0>\x0B\0?\x0B\0M\x0B\0N\x0B\0V\x0B\0X\x0B\0\xBE\x0B\0\xBF\x0B\0\xCD\x0B\0\xCE\x0B\0\xD7\x0B\0\xD8\x0B\0<\x0C\0=\x0C\0M\x0C\0N\x0C\0U\x0C\0W\x0C\0\xBC\x0C\0\xBD\x0C\0\xC2\x0C\0\xC3\x0C\0\xCD\x0C\0\xCE\x0C\0\xD5\x0C\0\xD7\x0C\0;\r\0=\r\0>\r\0?\r\0M\r\0N\r\0W\r\0X\r\0\xCA\r\0\xCB\r\0\xCF\r\0\xD0\r\0\xDF\r\0\xE0\r\08\x0E\0;\x0E\0H\x0E\0L\x0E\0\xB8\x0E\0\xBB\x0E\0\xC8\x0E\0\xCC\x0E\0\x18\x0F\0\x1A\x0F\x005\x0F\x006\x0F\x007\x0F\08\x0F\09\x0F\0:\x0F\0q\x0F\0s\x0F\0t\x0F\0u\x0F\0z\x0F\0~\x0F\0\x80\x0F\0\x81\x0F\0\x82\x0F\0\x85\x0F\0\x86\x0F\0\x88\x0F\0\xB5\x0F\0\xB6\x0F\0\xB7\x0F\0\xB8\x0F\0\xC6\x0F\0\xC7\x0F\0.\x10\0/\x10\x007\x10\08\x10\09\x10\0;\x10\0\x8D\x10\0\x8E\x10\0a\x11\0v\x11\0\xA8\x11\0\xC3\x11\0]\x13\0`\x13\0\x14\x17\0\x16\x17\x004\x17\x005\x17\0\xD2\x17\0\xD3\x17\0\xDD\x17\0\xDE\x17\0\xA9\x18\0\xAA\x18\09\x19\0<\x19\0\x17\x1A\0\x19\x1A\0`\x1A\0a\x1A\0u\x1A\0}\x1A\0\x7F\x1A\0\x80\x1A\0\xB0\x1A\0\xBE\x1A\0\xBF\x1A\0\xDE\x1A\0\xE0\x1A\0\xEC\x1A\x004\x1B\x006\x1B\0D\x1B\0E\x1B\0k\x1B\0t\x1B\0\xAA\x1B\0\xAC\x1B\0\xE6\x1B\0\xE7\x1B\0\xF2\x1B\0\xF4\x1B\x007\x1C\08\x1C\0\xD0\x1C\0\xD3\x1C\0\xD4\x1C\0\xE1\x1C\0\xE2\x1C\0\xE9\x1C\0\xED\x1C\0\xEE\x1C\0\xF4\x1C\0\xF5\x1C\0\xF8\x1C\0\xFA\x1C\0\xC0\x1D\0\0\x1E\0\xD0 \0\xDD \0\xE1 \0\xE2 \0\xE5 \0\xF1 \0\xEF,\0\xF2,\0\x7F-\0\x80-\0\xE0-\0\0.\0*0\x0000\0\x990\0\x9B0\0o\xA6\0p\xA6\0t\xA6\0~\xA6\0\x9E\xA6\0\xA0\xA6\0\xF0\xA6\0\xF2\xA6\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\xB0\xAA\0\xB1\xAA\0\xB2\xAA\0\xB5\xAA\0\xB7\xAA\0\xB9\xAA\0\xBE\xAA\0\xC0\xAA\0\xC1\xAA\0\xC2\xAA\0\xF6\xAA\0\xF7\xAA\0\xED\xAB\0\xEE\xAB\0\x1E\xFB\0\x1F\xFB\0 \xFE\x000\xFE\0\xFD\x01\x01\xFE\x01\x01\xE0\x02\x01\xE1\x02\x01v\x03\x01{\x03\x01\r\n\x01\x0E\n\x01\x0F\n\x01\x10\n\x018\n\x01;\n\x01?\n\x01@\n\x01\xE5\n\x01\xE7\n\x01$\r\x01(\r\x01i\r\x01n\r\x01\xAB\x0E\x01\xAD\x0E\x01\xFA\x0E\x01\xFC\x0E\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\x7F\x10\x01\x80\x10\x01\xB9\x10\x01\xBB\x10\x01\0\x11\x01\x03\x11\x01'\x11\x01(\x11\x013\x11\x015\x11\x01s\x11\x01t\x11\x01\xC0\x11\x01\xC1\x11\x01\xCA\x11\x01\xCB\x11\x015\x12\x017\x12\x01\xE9\x12\x01\xEB\x12\x01;\x13\x01=\x13\x01>\x13\x01?\x13\x01M\x13\x01N\x13\x01W\x13\x01X\x13\x01f\x13\x01m\x13\x01p\x13\x01u\x13\x01\xB8\x13\x01\xB9\x13\x01\xBB\x13\x01\xBC\x13\x01\xC2\x13\x01\xC3\x13\x01\xC9\x13\x01\xCA\x13\x01\xCE\x13\x01\xD1\x13\x01B\x14\x01C\x14\x01F\x14\x01G\x14\x01^\x14\x01_\x14\x01\xB0\x14\x01\xB1\x14\x01\xBA\x14\x01\xBB\x14\x01\xBD\x14\x01\xBE\x14\x01\xC2\x14\x01\xC4\x14\x01\xAF\x15\x01\xB0\x15\x01\xBF\x15\x01\xC1\x15\x01?\x16\x01@\x16\x01\xB6\x16\x01\xB8\x16\x01+\x17\x01,\x17\x019\x18\x01;\x18\x010\x19\x011\x19\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\x01\x1Ea\x01!a\x01)a\x01*a\x01/a\x010a\x01\xF0j\x01\xF5j\x010k\x017k\x01gm\x01hm\x01\xF0o\x01\xF2o\x01\x9E\xBC\x01\x9F\xBC\x01e\xD1\x01j\xD1\x01m\xD1\x01s\xD1\x01{\xD1\x01\x83\xD1\x01\x85\xD1\x01\x8C\xD1\x01\xAA\xD1\x01\xAE\xD1\x01B\xD2\x01E\xD2\x01\0\xE0\x01\x07\xE0\x01\x08\xE0\x01\x19\xE0\x01\x1B\xE0\x01\"\xE0\x01#\xE0\x01%\xE0\x01&\xE0\x01+\xE0\x01\x8F\xE0\x01\x90\xE0\x010\xE1\x017\xE1\x01\xAE\xE2\x01\xAF\xE2\x01\xEC\xE2\x01\xF0\xE2\x01\xEC\xE4\x01\xF0\xE4\x01\xEE\xE5\x01\xF0\xE5\x01\xE3\xE6\x01\xE4\xE6\x01\xE6\xE6\x01\xE7\xE6\x01\xEE\xE6\x01\xF0\xE6\x01\xF5\xE6\x01\xF6\xE6\x01\xD0\xE8\x01\xD7\xE8\x01D\xE9\x01K\xE9\x01\0\0\x11") }, 1113061u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinarySegmentStarterV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinarySegmentStarterV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_SEGMENT_STARTER_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinarySegmentStarterV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_segment_starter_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinarySegmentStarterV1> 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_segment_starter_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinarySegmentStarterV1> 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::PropertyBinarySegmentStarterV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_segment_starter_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinarySegmentStarterV1> 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::PropertyBinarySegmentStarterV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinarySegmentStarterV1> 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_segment_starter_v1 as impl_property_binary_segment_starter_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinarySentenceTerminalV1>` 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:
/// * 560B[^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_sentence_terminal_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_SENTENCE_TERMINAL_V1: &'static <icu::properties::provider::PropertyBinarySentenceTerminalV1 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"!\0\0\"\0\0.\0\0/\0\0?\0\0@\0\0\x89\x05\0\x8A\x05\0\x1D\x06\0 \x06\0\xD4\x06\0\xD5\x06\0\0\x07\0\x03\x07\0\xF9\x07\0\xFA\x07\x007\x08\08\x08\09\x08\0:\x08\0=\x08\0?\x08\0d\t\0f\t\0J\x10\0L\x10\0b\x13\0c\x13\0g\x13\0i\x13\0n\x16\0o\x16\x005\x17\x007\x17\0\xD4\x17\0\xD6\x17\0\x03\x18\0\x04\x18\0\t\x18\0\n\x18\0D\x19\0F\x19\0\xA8\x1A\0\xAC\x1A\0N\x1B\0P\x1B\0Z\x1B\0\\\x1B\0^\x1B\0`\x1B\0}\x1B\0\x80\x1B\0;\x1C\0=\x1C\0~\x1C\0\x80\x1C\0$ \0% \0< \0> \0G \0J \0\xF9,\0\xFC,\0..\0/.\0<.\0=.\0S.\0U.\0\x020\0\x030\0\xFF\xA4\0\0\xA5\0\x0E\xA6\0\x10\xA6\0\xF3\xA6\0\xF4\xA6\0\xF7\xA6\0\xF8\xA6\0v\xA8\0x\xA8\0\xCE\xA8\0\xD0\xA8\0/\xA9\x000\xA9\0\xC8\xA9\0\xCA\xA9\0]\xAA\0`\xAA\0\xF0\xAA\0\xF2\xAA\0\xEB\xAB\0\xEC\xAB\0\x12\xFE\0\x13\xFE\0\x15\xFE\0\x17\xFE\0R\xFE\0S\xFE\0V\xFE\0X\xFE\0\x01\xFF\0\x02\xFF\0\x0E\xFF\0\x0F\xFF\0\x1F\xFF\0 \xFF\0a\xFF\0b\xFF\0V\n\x01X\n\x01U\x0F\x01Z\x0F\x01\x86\x0F\x01\x8A\x0F\x01G\x10\x01I\x10\x01\xBE\x10\x01\xC2\x10\x01A\x11\x01D\x11\x01\xC5\x11\x01\xC7\x11\x01\xCD\x11\x01\xCE\x11\x01\xDE\x11\x01\xE0\x11\x018\x12\x01:\x12\x01;\x12\x01=\x12\x01\xA9\x12\x01\xAA\x12\x01\xD4\x13\x01\xD6\x13\x01K\x14\x01M\x14\x01\xC2\x15\x01\xC4\x15\x01\xC9\x15\x01\xD8\x15\x01A\x16\x01C\x16\x01<\x17\x01?\x17\x01D\x19\x01E\x19\x01F\x19\x01G\x19\x01B\x1A\x01D\x1A\x01\x9B\x1A\x01\x9D\x1A\x01A\x1C\x01C\x1C\x01\xF7\x1E\x01\xF9\x1E\x01C\x1F\x01E\x1F\x01nj\x01pj\x01\xF5j\x01\xF6j\x017k\x019k\x01Dk\x01Ek\x01nm\x01pm\x01\x98n\x01\x99n\x01\x9F\xBC\x01\xA0\xBC\x01\x88\xDA\x01\x89\xDA\x01") }, 170u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinarySentenceTerminalV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinarySentenceTerminalV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_SENTENCE_TERMINAL_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinarySentenceTerminalV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_sentence_terminal_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinarySentenceTerminalV1> 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_sentence_terminal_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinarySentenceTerminalV1> 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::PropertyBinarySentenceTerminalV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_sentence_terminal_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinarySentenceTerminalV1> 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::PropertyBinarySentenceTerminalV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinarySentenceTerminalV1> 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_sentence_terminal_v1 as impl_property_binary_sentence_terminal_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinarySoftDottedV1>` 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:
/// * 236B[^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_soft_dotted_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_SOFT_DOTTED_V1: &'static <icu::properties::provider::PropertyBinarySoftDottedV1 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"i\0\0k\0\0/\x01\x000\x01\0I\x02\0J\x02\0h\x02\0i\x02\0\x9D\x02\0\x9E\x02\0\xB2\x02\0\xB3\x02\0\xF3\x03\0\xF4\x03\0V\x04\0W\x04\0X\x04\0Y\x04\0b\x1D\0c\x1D\0\x96\x1D\0\x97\x1D\0\xA4\x1D\0\xA5\x1D\0\xA8\x1D\0\xA9\x1D\0-\x1E\0.\x1E\0\xCB\x1E\0\xCC\x1E\0q \0r \0H!\0J!\0|,\0},\0\"\xD4\x01$\xD4\x01V\xD4\x01X\xD4\x01\x8A\xD4\x01\x8C\xD4\x01\xBE\xD4\x01\xC0\xD4\x01\xF2\xD4\x01\xF4\xD4\x01&\xD5\x01(\xD5\x01Z\xD5\x01\\\xD5\x01\x8E\xD5\x01\x90\xD5\x01\xC2\xD5\x01\xC4\xD5\x01\xF6\xD5\x01\xF8\xD5\x01*\xD6\x01,\xD6\x01^\xD6\x01`\xD6\x01\x92\xD6\x01\x94\xD6\x01\x1A\xDF\x01\x1B\xDF\x01L\xE0\x01N\xE0\x01h\xE0\x01i\xE0\x01") }, 50u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinarySoftDottedV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinarySoftDottedV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_SOFT_DOTTED_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinarySoftDottedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_soft_dotted_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinarySoftDottedV1> 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_soft_dotted_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinarySoftDottedV1> 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::PropertyBinarySoftDottedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_soft_dotted_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinarySoftDottedV1> 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::PropertyBinarySoftDottedV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinarySoftDottedV1> 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_soft_dotted_v1 as impl_property_binary_soft_dotted_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryTerminalPunctuationV1>` 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:
/// * 728B[^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_terminal_punctuation_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_TERMINAL_PUNCTUATION_V1: &'static <icu::properties::provider::PropertyBinaryTerminalPunctuationV1 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"!\0\0\"\0\0,\0\0-\0\0.\0\0/\0\0:\0\0<\0\0?\0\0@\0\0~\x03\0\x7F\x03\0\x87\x03\0\x88\x03\0\x89\x05\0\x8A\x05\0\xC3\x05\0\xC4\x05\0\x0C\x06\0\r\x06\0\x1B\x06\0\x1C\x06\0\x1D\x06\0 \x06\0\xD4\x06\0\xD5\x06\0\0\x07\0\x0B\x07\0\x0C\x07\0\r\x07\0\xF8\x07\0\xFA\x07\x000\x08\x006\x08\x007\x08\0?\x08\0^\x08\0_\x08\0d\t\0f\t\0Z\x0E\0\\\x0E\0\x08\x0F\0\t\x0F\0\r\x0F\0\x13\x0F\0J\x10\0L\x10\0a\x13\0i\x13\0n\x16\0o\x16\0\xEB\x16\0\xEE\x16\x005\x17\x007\x17\0\xD4\x17\0\xD7\x17\0\xDA\x17\0\xDB\x17\0\x02\x18\0\x06\x18\0\x08\x18\0\n\x18\0D\x19\0F\x19\0\xA8\x1A\0\xAC\x1A\0N\x1B\0P\x1B\0Z\x1B\0\\\x1B\0]\x1B\0`\x1B\0}\x1B\0\x80\x1B\0;\x1C\0@\x1C\0~\x1C\0\x80\x1C\0$ \0% \0< \0> \0G \0J \0\xF9,\0\xFC,\0..\0/.\0<.\0=.\0A.\0B.\0L.\0M.\0N.\0P.\0S.\0U.\0\x010\0\x030\0\xFE\xA4\0\0\xA5\0\r\xA6\0\x10\xA6\0\xF3\xA6\0\xF8\xA6\0v\xA8\0x\xA8\0\xCE\xA8\0\xD0\xA8\0/\xA9\x000\xA9\0\xC7\xA9\0\xCA\xA9\0]\xAA\0`\xAA\0\xDF\xAA\0\xE0\xAA\0\xF0\xAA\0\xF2\xAA\0\xEB\xAB\0\xEC\xAB\0\x12\xFE\0\x13\xFE\0\x15\xFE\0\x17\xFE\0P\xFE\0S\xFE\0T\xFE\0X\xFE\0\x01\xFF\0\x02\xFF\0\x0C\xFF\0\r\xFF\0\x0E\xFF\0\x0F\xFF\0\x1A\xFF\0\x1C\xFF\0\x1F\xFF\0 \xFF\0a\xFF\0b\xFF\0d\xFF\0e\xFF\0\x9F\x03\x01\xA0\x03\x01\xD0\x03\x01\xD1\x03\x01W\x08\x01X\x08\x01\x1F\t\x01 \t\x01V\n\x01X\n\x01\xF0\n\x01\xF6\n\x01:\x0B\x01@\x0B\x01\x99\x0B\x01\x9D\x0B\x01U\x0F\x01Z\x0F\x01\x86\x0F\x01\x8A\x0F\x01G\x10\x01N\x10\x01\xBE\x10\x01\xC2\x10\x01A\x11\x01D\x11\x01\xC5\x11\x01\xC7\x11\x01\xCD\x11\x01\xCE\x11\x01\xDE\x11\x01\xE0\x11\x018\x12\x01=\x12\x01\xA9\x12\x01\xAA\x12\x01\xD4\x13\x01\xD6\x13\x01K\x14\x01N\x14\x01Z\x14\x01\\\x14\x01\xC2\x15\x01\xC6\x15\x01\xC9\x15\x01\xD8\x15\x01A\x16\x01C\x16\x01<\x17\x01?\x17\x01D\x19\x01E\x19\x01F\x19\x01G\x19\x01B\x1A\x01D\x1A\x01\x9B\x1A\x01\x9D\x1A\x01\xA1\x1A\x01\xA3\x1A\x01A\x1C\x01D\x1C\x01q\x1C\x01r\x1C\x01\xF7\x1E\x01\xF9\x1E\x01C\x1F\x01E\x1F\x01p$\x01u$\x01nj\x01pj\x01\xF5j\x01\xF6j\x017k\x01:k\x01Dk\x01Ek\x01nm\x01pm\x01\x97n\x01\x99n\x01\x9F\xBC\x01\xA0\xBC\x01\x87\xDA\x01\x8B\xDA\x01") }, 291u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryTerminalPunctuationV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryTerminalPunctuationV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_TERMINAL_PUNCTUATION_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryTerminalPunctuationV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_terminal_punctuation_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryTerminalPunctuationV1> 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_terminal_punctuation_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryTerminalPunctuationV1> 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::PropertyBinaryTerminalPunctuationV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_terminal_punctuation_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryTerminalPunctuationV1> 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::PropertyBinaryTerminalPunctuationV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryTerminalPunctuationV1> 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_terminal_punctuation_v1 as impl_property_binary_terminal_punctuation_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryUnifiedIdeographV1>` 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:
/// * 128B[^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_unified_ideograph_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_UNIFIED_IDEOGRAPH_V1: &'static <icu::properties::provider::PropertyBinaryUnifiedIdeographV1 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"\x004\0\xC0M\0\0N\0\0\xA0\0\x0E\xFA\0\x10\xFA\0\x11\xFA\0\x12\xFA\0\x13\xFA\0\x15\xFA\0\x1F\xFA\0 \xFA\0!\xFA\0\"\xFA\0#\xFA\0%\xFA\0'\xFA\0*\xFA\0\0\0\x02\xE0\xA6\x02\0\xA7\x02\x1E\xB8\x02 \xB8\x02\xAE\xCE\x02\xB0\xCE\x02\xE1\xEB\x02\xF0\xEB\x02^\xEE\x02\0\0\x03K\x13\x03P\x13\x03z4\x03") }, 101996u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryUnifiedIdeographV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryUnifiedIdeographV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_UNIFIED_IDEOGRAPH_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryUnifiedIdeographV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_unified_ideograph_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryUnifiedIdeographV1> 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_unified_ideograph_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryUnifiedIdeographV1> 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::PropertyBinaryUnifiedIdeographV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_unified_ideograph_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryUnifiedIdeographV1> 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::PropertyBinaryUnifiedIdeographV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryUnifiedIdeographV1> 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_unified_ideograph_v1 as impl_property_binary_unified_ideograph_v1;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryVariationSelectorV1>` 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:
/// * 56B[^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_variation_selector_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_VARIATION_SELECTOR_V1: &'static <icu::properties::provider::PropertyBinaryVariationSelectorV1 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"\x0B\x18\0\x0E\x18\0\x0F\x18\0\x10\x18\0\0\xFE\0\x10\xFE\0\0\x01\x0E\xF0\x01\x0E") }, 260u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryVariationSelectorV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryVariationSelectorV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_VARIATION_SELECTOR_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryVariationSelectorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_variation_selector_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryVariationSelectorV1> 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_variation_selector_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryVariationSelectorV1> 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::PropertyBinaryVariationSelectorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_variation_selector_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryVariationSelectorV1> 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::PropertyBinaryVariationSelectorV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryVariationSelectorV1> 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_variation_selector_v1 as impl_property_binary_variation_selector_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryWhiteSpaceV1>` 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:
/// * 92B[^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_white_space_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_WHITE_SPACE_V1: &'static <icu::properties::provider::PropertyBinaryWhiteSpaceV1 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"\t\0\0\x0E\0\0 \0\0!\0\0\x85\0\0\x86\0\0\xA0\0\0\xA1\0\0\x80\x16\0\x81\x16\0\0 \0\x0B \0( \0* \0/ \x000 \0_ \0` \0\x000\0\x010\0") }, 25u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryWhiteSpaceV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryWhiteSpaceV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_WHITE_SPACE_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryWhiteSpaceV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_white_space_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryWhiteSpaceV1> 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_white_space_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryWhiteSpaceV1> 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::PropertyBinaryWhiteSpaceV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_white_space_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryWhiteSpaceV1> 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::PropertyBinaryWhiteSpaceV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryWhiteSpaceV1> 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_white_space_v1 as impl_property_binary_white_space_v1;

View File

@@ -0,0 +1,83 @@
// @generated
/// Implement `DataProvider<PropertyBinaryXdigitV1>` 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:
/// * 488B[^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_xdigit_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_BINARY_XDIGIT_V1: &'static <icu::properties::provider::PropertyBinaryXdigitV1 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"0\0\0:\0\0A\0\0G\0\0a\0\0g\0\0`\x06\0j\x06\0\xF0\x06\0\xFA\x06\0\xC0\x07\0\xCA\x07\0f\t\0p\t\0\xE6\t\0\xF0\t\0f\n\0p\n\0\xE6\n\0\xF0\n\0f\x0B\0p\x0B\0\xE6\x0B\0\xF0\x0B\0f\x0C\0p\x0C\0\xE6\x0C\0\xF0\x0C\0f\r\0p\r\0\xE6\r\0\xF0\r\0P\x0E\0Z\x0E\0\xD0\x0E\0\xDA\x0E\0 \x0F\0*\x0F\0@\x10\0J\x10\0\x90\x10\0\x9A\x10\0\xE0\x17\0\xEA\x17\0\x10\x18\0\x1A\x18\0F\x19\0P\x19\0\xD0\x19\0\xDA\x19\0\x80\x1A\0\x8A\x1A\0\x90\x1A\0\x9A\x1A\0P\x1B\0Z\x1B\0\xB0\x1B\0\xBA\x1B\0@\x1C\0J\x1C\0P\x1C\0Z\x1C\0 \xA6\0*\xA6\0\xD0\xA8\0\xDA\xA8\0\0\xA9\0\n\xA9\0\xD0\xA9\0\xDA\xA9\0\xF0\xA9\0\xFA\xA9\0P\xAA\0Z\xAA\0\xF0\xAB\0\xFA\xAB\0\x10\xFF\0\x1A\xFF\0!\xFF\0'\xFF\0A\xFF\0G\xFF\0\xA0\x04\x01\xAA\x04\x010\r\x01:\r\x01@\r\x01J\r\x01f\x10\x01p\x10\x01\xF0\x10\x01\xFA\x10\x016\x11\x01@\x11\x01\xD0\x11\x01\xDA\x11\x01\xF0\x12\x01\xFA\x12\x01P\x14\x01Z\x14\x01\xD0\x14\x01\xDA\x14\x01P\x16\x01Z\x16\x01\xC0\x16\x01\xCA\x16\x01\xD0\x16\x01\xE4\x16\x010\x17\x01:\x17\x01\xE0\x18\x01\xEA\x18\x01P\x19\x01Z\x19\x01\xF0\x1B\x01\xFA\x1B\x01P\x1C\x01Z\x1C\x01P\x1D\x01Z\x1D\x01\xA0\x1D\x01\xAA\x1D\x01\xE0\x1D\x01\xEA\x1D\x01P\x1F\x01Z\x1F\x010a\x01:a\x01`j\x01jj\x01\xC0j\x01\xCAj\x01Pk\x01Zk\x01pm\x01zm\x01\xF0\xCC\x01\xFA\xCC\x01\xCE\xD7\x01\0\xD8\x01@\xE1\x01J\xE1\x01\xF0\xE2\x01\xFA\xE2\x01\xF0\xE4\x01\xFA\xE4\x01\xF1\xE5\x01\xFB\xE5\x01P\xE9\x01Z\xE9\x01\xF0\xFB\x01\xFA\xFB\x01") }, 794u32)
});
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyBinaryXdigitV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyBinaryXdigitV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_BINARY_XDIGIT_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyBinaryXdigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_binary_xdigit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryXdigitV1> 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_xdigit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryXdigitV1> 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::PropertyBinaryXdigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_binary_xdigit_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyBinaryXdigitV1> 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::PropertyBinaryXdigitV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyBinaryXdigitV1> 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_xdigit_v1 as impl_property_binary_xdigit_v1;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,80 @@
// @generated
/// Implement `DataProvider<PropertyEnumHangulSyllableTypeV1>` 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:
/// * 888B[^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_enum_hangul_syllable_type_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_ENUM_HANGUL_SYLLABLE_TYPE_V1: &'static <icu::properties::provider::PropertyEnumHangulSyllableTypeV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::PropertyCodePointMap::CodePointTrie(unsafe { icu::collections::codepointtrie::CodePointTrie::from_parts_unstable_unchecked_v1(icu::collections::codepointtrie::CodePointTrieHeader { high_start: 55296u32, shifted12_high_start: 14u16, index3_null_offset: 2u16, data_null_offset: 0u32, null_value: 0u32, trie_type: icu::collections::codepointtrie::TrieType::Small }, unsafe { zerovec::ZeroVec::from_bytes_unchecked(b"\0\0@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\xDA\0\xE3\0\xEF\0\x08\x01\0\0\x10\0 \x000\0@\0P\0`\0p\0\0\0\x10\0 \x000\0\0\0\x10\0 \x000\0\0\0\x10\0 \x000\0\0\0\x10\0 \x000\0\0\0\x10\0 \x000\0\0\0\x10\0 \x000\0\0\0\x10\0 \x000\0\0\0\x10\0 \x000\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x80\0\x80\0\x80\0\x80\0\x80\0\x80\0\x90\0\x90\0\x90\0\x90\0\x98\0\xA0\0\xA0\0\xA0\0\xA0\0\xA0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x80\0\xB0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\xC0\0\xC4\0\xD1\0\xC8\0\xD1\0\xCC\0\xD1\0\xC0\0\xC4\0\xD1\0\xC8\0\xD1\0\xCC\0\xD1\0\xC0\0\xC4\0\xD1\0\xC8\0\xD1\0\xCC\0\xD1\0\xC0\0\xC4\0\xD1\0\xC8\0\xD1\0\xCC\0\xD1\0\xC0\0\xC4\0\xD1\0\xC8\0\xD1\0\xCC\0\xD1\0\xC0\0\xC4\0\xD1\0\xC8\0\xD1\0\xDD\0\x90\0\xED\0\xA0\0\xA0\0\xF8\0D\0L\0L\0L\0L\0L\0L\0L\0l\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x02\0\x8C\0\x02\0\xAC\0\xB0\0\xAD\0\xB1\0\xAE\0\xB2\0\xAF\0\xAC\0\xB0\0\xAD\0\xB1\0\xAE\0\xB2\0\xAF\0\xBA\0") }, unsafe { zerovec::ZeroVec::from_bytes_unchecked(b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\0\0\0\x04\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x04\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\0\0\0\0\0\0\0\0\0\0\0\0\x02\x02\x02\x02\x02\x02\x02\0\0\0\0\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\0\0\0\0") }, icu::properties::props::HangulSyllableType::NotApplicable) });
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyEnumHangulSyllableTypeV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyEnumHangulSyllableTypeV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_ENUM_HANGUL_SYLLABLE_TYPE_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyEnumHangulSyllableTypeV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_enum_hangul_syllable_type_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyEnumHangulSyllableTypeV1> 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_enum_hangul_syllable_type_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyEnumHangulSyllableTypeV1> 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::PropertyEnumHangulSyllableTypeV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_enum_hangul_syllable_type_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyEnumHangulSyllableTypeV1> 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::PropertyEnumHangulSyllableTypeV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyEnumHangulSyllableTypeV1> 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_enum_hangul_syllable_type_v1 as impl_property_enum_hangul_syllable_type_v1;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,80 @@
// @generated
/// Implement `DataProvider<PropertyNameLongBidiClassV1>` 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:
/// * 478B[^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_name_long_bidi_class_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_NAME_LONG_BIDI_CLASS_V1: &'static <icu::properties::provider::PropertyNameLongBidiClassV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::names::PropertyEnumToValueNameLinearMap { map: unsafe { zerovec::vecs::VarZeroVec16::from_bytes_unchecked(b"\x17\0\r\0\x1A\0)\0;\0N\0[\0k\0~\0\x8F\0\x9A\0\xA7\0\xBE\0\xD4\0\xE1\0\xF8\0\x0E\x01$\x013\x01C\x01W\x01l\x01\x81\x01Left_To_RightRight_To_LeftEuropean_NumberEuropean_SeparatorEuropean_TerminatorArabic_NumberCommon_SeparatorParagraph_SeparatorSegment_SeparatorWhite_SpaceOther_NeutralLeft_To_Right_EmbeddingLeft_To_Right_OverrideArabic_LetterRight_To_Left_EmbeddingRight_To_Left_OverridePop_Directional_FormatNonspacing_MarkBoundary_NeutralFirst_Strong_IsolateLeft_To_Right_IsolateRight_To_Left_IsolatePop_Directional_Isolate") } };
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyNameLongBidiClassV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyNameLongBidiClassV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_NAME_LONG_BIDI_CLASS_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyNameLongBidiClassV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_name_long_bidi_class_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongBidiClassV1> 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_name_long_bidi_class_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongBidiClassV1> 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::PropertyNameLongBidiClassV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_name_long_bidi_class_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongBidiClassV1> 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::PropertyNameLongBidiClassV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongBidiClassV1> 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_name_long_bidi_class_v1 as impl_property_name_long_bidi_class_v1;

View File

@@ -0,0 +1,85 @@
// @generated
/// Implement `DataProvider<PropertyNameLongCanonicalCombiningClassV1>` 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:
/// * 693B[^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_name_long_canonical_combining_class_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_NAME_LONG_CANONICAL_COMBINING_CLASS_V1: &'static <icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::names::PropertyEnumToValueNameSparseMap {
map: unsafe {
#[allow(unused_unsafe)]
zerovec::ZeroMap::from_parts_unchecked(unsafe { zerovec::ZeroVec::from_bytes_unchecked(b"\0\0\x01\0\x06\0\x07\0\x08\0\t\0\n\0\x0B\0\x0C\0\r\0\x0E\0\x0F\0\x10\0\x11\0\x12\0\x13\0\x14\0\x15\0\x16\0\x17\0\x18\0\x19\0\x1A\0\x1B\0\x1C\0\x1D\0\x1E\0\x1F\0 \0!\0\"\0#\0$\0T\0[\0g\0k\0v\0z\0\x81\0\x82\0\x84\0\x85\0\xC8\0\xCA\0\xD6\0\xD8\0\xDA\0\xDC\0\xDE\0\xE0\0\xE2\0\xE4\0\xE6\0\xE8\0\xE9\0\xEA\0\xF0\0") }, unsafe { zerovec::vecs::VarZeroVec16::from_bytes_unchecked(b":\0\r\0\x14\0\x1F\0$\x000\x006\0;\0@\0E\0J\0O\0T\0Y\0^\0c\0h\0m\0r\0w\0|\0\x81\0\x86\0\x8B\0\x90\0\x95\0\x9A\0\x9F\0\xA4\0\xA9\0\xAE\0\xB3\0\xB8\0\xBD\0\xC2\0\xC7\0\xCD\0\xD3\0\xD9\0\xDF\0\xE5\0\xEB\0\xF1\0\xF7\0\n\x01\x18\x01&\x01:\x01D\x01I\x01T\x01X\x01]\x01g\x01l\x01w\x01\x83\x01\x8F\x01Not_ReorderedOverlayHan_ReadingNuktaKana_VoicingViramaCCC10CCC11CCC12CCC13CCC14CCC15CCC16CCC17CCC18CCC19CCC20CCC21CCC22CCC23CCC24CCC25CCC26CCC27CCC28CCC29CCC30CCC31CCC32CCC33CCC34CCC35CCC36CCC84CCC91CCC103CCC107CCC118CCC122CCC129CCC130CCC132CCC133Attached_Below_LeftAttached_BelowAttached_AboveAttached_Above_RightBelow_LeftBelowBelow_RightLeftRightAbove_LeftAboveAbove_RightDouble_BelowDouble_AboveIota_Subscript") })
},
};
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_NAME_LONG_CANONICAL_COMBINING_CLASS_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_name_long_canonical_combining_class_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1> 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_name_long_canonical_combining_class_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1> 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::PropertyNameLongCanonicalCombiningClassV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_name_long_canonical_combining_class_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1> 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::PropertyNameLongCanonicalCombiningClassV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongCanonicalCombiningClassV1> 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_name_long_canonical_combining_class_v1 as impl_property_name_long_canonical_combining_class_v1;

View File

@@ -0,0 +1,80 @@
// @generated
/// Implement `DataProvider<PropertyNameLongEastAsianWidthV1>` 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:
/// * 80B[^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_name_long_east_asian_width_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_NAME_LONG_EAST_ASIAN_WIDTH_V1: &'static <icu::properties::provider::PropertyNameLongEastAsianWidthV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::names::PropertyEnumToValueNameLinearMap { map: unsafe { zerovec::vecs::VarZeroVec16::from_bytes_unchecked(b"\x06\0\x07\0\x10\0\x19\0\"\0(\0NeutralAmbiguousHalfwidthFullwidthNarrowWide") } };
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyNameLongEastAsianWidthV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyNameLongEastAsianWidthV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_NAME_LONG_EAST_ASIAN_WIDTH_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyNameLongEastAsianWidthV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_name_long_east_asian_width_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongEastAsianWidthV1> 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_name_long_east_asian_width_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongEastAsianWidthV1> 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::PropertyNameLongEastAsianWidthV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_name_long_east_asian_width_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongEastAsianWidthV1> 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::PropertyNameLongEastAsianWidthV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongEastAsianWidthV1> 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_name_long_east_asian_width_v1 as impl_property_name_long_east_asian_width_v1;

View File

@@ -0,0 +1,80 @@
// @generated
/// Implement `DataProvider<PropertyNameLongGeneralCategoryV1>` 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:
/// * 506B[^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_name_long_general_category_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_NAME_LONG_GENERAL_CATEGORY_V1: &'static <icu::properties::provider::PropertyNameLongGeneralCategoryV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::names::PropertyEnumToValueNameLinearMap { map: unsafe { zerovec::vecs::VarZeroVec16::from_bytes_unchecked(b"\x1E\0\n\0\x1A\0*\0:\0I\0U\0d\0r\0~\0\x8C\0\x99\0\xA5\0\xB4\0\xC2\0\xD5\0\xDC\0\xE2\0\xED\0\xF6\0\x06\x01\x16\x01'\x01<\x01M\x01X\x01g\x01v\x01\x82\x01\x95\x01UnassignedUppercase_LetterLowercase_LetterTitlecase_LetterModifier_LetterOther_LetterNonspacing_MarkEnclosing_MarkSpacing_MarkDecimal_NumberLetter_NumberOther_NumberSpace_SeparatorLine_SeparatorParagraph_SeparatorControlFormatPrivate_UseSurrogateDash_PunctuationOpen_PunctuationClose_PunctuationConnector_PunctuationOther_PunctuationMath_SymbolCurrency_SymbolModifier_SymbolOther_SymbolInitial_PunctuationFinal_Punctuation") } };
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyNameLongGeneralCategoryV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyNameLongGeneralCategoryV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_NAME_LONG_GENERAL_CATEGORY_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyNameLongGeneralCategoryV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_name_long_general_category_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongGeneralCategoryV1> 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_name_long_general_category_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongGeneralCategoryV1> 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::PropertyNameLongGeneralCategoryV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_name_long_general_category_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongGeneralCategoryV1> 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::PropertyNameLongGeneralCategoryV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongGeneralCategoryV1> 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_name_long_general_category_v1 as impl_property_name_long_general_category_v1;

View File

@@ -0,0 +1,80 @@
// @generated
/// Implement `DataProvider<PropertyNameLongGraphemeClusterBreakV1>` 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:
/// * 169B[^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_name_long_grapheme_cluster_break_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_NAME_LONG_GRAPHEME_CLUSTER_BREAK_V1: &'static <icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::names::PropertyEnumToValueNameLinearMap { map: unsafe { zerovec::vecs::VarZeroVec16::from_bytes_unchecked(b"\x12\0\x05\0\x0C\0\x0E\0\x14\0\x15\0\x17\0\x19\0\x1C\0\x1D\0\x1E\0)\x000\0B\0H\0R\0\\\0j\0OtherControlCRExtendLLFLVLVTTVSpacingMarkPrependRegional_IndicatorE_BaseE_Base_GAZE_ModifierGlue_After_ZwjZWJ") } };
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_NAME_LONG_GRAPHEME_CLUSTER_BREAK_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_name_long_grapheme_cluster_break_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1> 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_name_long_grapheme_cluster_break_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1> 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::PropertyNameLongGraphemeClusterBreakV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_name_long_grapheme_cluster_break_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1> 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::PropertyNameLongGraphemeClusterBreakV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongGraphemeClusterBreakV1> 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_name_long_grapheme_cluster_break_v1 as impl_property_name_long_grapheme_cluster_break_v1;

View File

@@ -0,0 +1,80 @@
// @generated
/// Implement `DataProvider<PropertyNameLongHangulSyllableTypeV1>` 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:
/// * 108B[^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_name_long_hangul_syllable_type_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_NAME_LONG_HANGUL_SYLLABLE_TYPE_V1: &'static <icu::properties::provider::PropertyNameLongHangulSyllableTypeV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::names::PropertyEnumToValueNameLinearMap { map: unsafe { zerovec::vecs::VarZeroVec16::from_bytes_unchecked(b"\x06\0\x0E\0\x1A\0$\x001\0<\0Not_ApplicableLeading_JamoVowel_JamoTrailing_JamoLV_SyllableLVT_Syllable") } };
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyNameLongHangulSyllableTypeV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyNameLongHangulSyllableTypeV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_NAME_LONG_HANGUL_SYLLABLE_TYPE_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyNameLongHangulSyllableTypeV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_name_long_hangul_syllable_type_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongHangulSyllableTypeV1> 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_name_long_hangul_syllable_type_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongHangulSyllableTypeV1> 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::PropertyNameLongHangulSyllableTypeV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_name_long_hangul_syllable_type_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongHangulSyllableTypeV1> 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::PropertyNameLongHangulSyllableTypeV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongHangulSyllableTypeV1> 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_name_long_hangul_syllable_type_v1 as impl_property_name_long_hangul_syllable_type_v1;

View File

@@ -0,0 +1,80 @@
// @generated
/// Implement `DataProvider<PropertyNameLongIndicConjunctBreakV1>` 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:
/// * 57B[^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_name_long_indic_conjunct_break_v1 {
($ provider : ty) => {
#[clippy::msrv = "1.83"]
const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO;
#[clippy::msrv = "1.83"]
impl $provider {
#[doc(hidden)]
pub const SINGLETON_PROPERTY_NAME_LONG_INDIC_CONJUNCT_BREAK_V1: &'static <icu::properties::provider::PropertyNameLongIndicConjunctBreakV1 as icu_provider::DynamicDataMarker>::DataStruct = &icu::properties::provider::names::PropertyEnumToValueNameLinearMap { map: unsafe { zerovec::vecs::VarZeroVec16::from_bytes_unchecked(b"\x04\0\x04\0\r\0\x13\0NoneConsonantExtendLinker") } };
}
#[clippy::msrv = "1.83"]
impl icu_provider::DataProvider<icu::properties::provider::PropertyNameLongIndicConjunctBreakV1> for $provider {
fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::properties::provider::PropertyNameLongIndicConjunctBreakV1>, icu_provider::DataError> {
if req.id.locale.is_unknown() {
Ok(icu_provider::DataResponse { payload: icu_provider::DataPayload::from_static_ref(Self::SINGLETON_PROPERTY_NAME_LONG_INDIC_CONJUNCT_BREAK_V1), metadata: icu_provider::DataResponseMetadata::default() })
} else {
Err(icu_provider::DataErrorKind::InvalidRequest.with_req(<icu::properties::provider::PropertyNameLongIndicConjunctBreakV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , ITER) => {
__impl_property_name_long_indic_conjunct_break_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongIndicConjunctBreakV1> 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_name_long_indic_conjunct_break_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongIndicConjunctBreakV1> 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::PropertyNameLongIndicConjunctBreakV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
};
($ provider : ty , DRY , ITER) => {
__impl_property_name_long_indic_conjunct_break_v1!($provider);
#[clippy::msrv = "1.83"]
impl icu_provider::DryDataProvider<icu::properties::provider::PropertyNameLongIndicConjunctBreakV1> 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::PropertyNameLongIndicConjunctBreakV1 as icu_provider::DataMarker>::INFO, req))
}
}
}
#[clippy::msrv = "1.83"]
impl icu_provider::IterableDataProvider<icu::properties::provider::PropertyNameLongIndicConjunctBreakV1> 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_name_long_indic_conjunct_break_v1 as impl_property_name_long_indic_conjunct_break_v1;

Some files were not shown because too many files have changed in this diff Show More