File: mod.rs

package info (click to toggle)
firefox 147.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,683,320 kB
  • sloc: cpp: 7,607,359; javascript: 6,533,295; ansic: 3,775,223; python: 1,415,500; xml: 634,561; asm: 438,949; java: 186,241; sh: 62,752; makefile: 18,079; objc: 13,092; perl: 12,808; yacc: 4,583; cs: 3,846; pascal: 3,448; lex: 1,720; ruby: 1,003; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10; exp: 6
file content (281 lines) | stat: -rw-r--r-- 15,425 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
// @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_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_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_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_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_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_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.82"]
        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_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_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_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_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_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_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);
    };
}