Debian Codegraph @

src/lib.rs

raw symbols SCIP
1 #![no_std]
2 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::charrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/;
3 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::slicerust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/;
4
5 pub mod tablesrust-analyzer cargo ucd 0.1.1 tables/;
6 use tablesrust-analyzer cargo ucd 0.1.1 tables/::Searchrust-analyzer cargo ucd 0.1.1 tables/Search#;
7 pub use tablesrust-analyzer cargo ucd 0.1.1 tables/::{
8 BidiClassrust-analyzer cargo ucd 0.1.1 tables/bidi/BidiClass#,
9 BidiPairedBracketTyperust-analyzer cargo ucd 0.1.1 tables/bidi/BidiPairedBracketType#,
10 DecompositionTyperust-analyzer cargo ucd 0.1.1 tables/decomp/DecompositionType#,
11 EastAsianWidthrust-analyzer cargo ucd 0.1.1 tables/misc/EastAsianWidth#,
12 GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#,
13 HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#,
14 IndicPositionalCategoryrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicPositionalCategory#,
15 IndicSyllabicCategoryrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicSyllabicCategory#,
16 JoiningGrouprust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningGroup#,
17 JoiningTyperust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningType#,
18 LinebreakClassrust-analyzer cargo ucd 0.1.1 tables/misc/LinebreakClass#,
19 NumericTyperust-analyzer cargo ucd 0.1.1 tables/misc/NumericType#,
20 Scriptrust-analyzer cargo ucd 0.1.1 tables/scripts/Script#,
21 SentenceBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/SentenceBreak#,
22 Trileanrust-analyzer cargo ucd 0.1.1 tables/rem/Trilean#,
23 UnicodeBlockrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeBlock#,
24 UnicodeCategoryrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeCategory#,
25 WordBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/WordBreak#
26 };
27
28 // for use with numeric_value
29 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:,Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:,Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:,PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:,Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:,Ordrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord:,PartialOrdrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialOrd:)]
30 pub enum Numberrust-analyzer cargo ucd 0.1.1 Number# {
31 Integerrust-analyzer cargo ucd 0.1.1 Number#Integer#(i64),
32 Rationalrust-analyzer cargo ucd 0.1.1 Number#Rational#(i32,u32)
33 }
34
35 fn cp_decoderust-analyzer cargo ucd 0.1.1 cp_decode().((c1,c2,c3): (u8,u8,u8)) -> char {
36 let c = (c1 as u32)*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().65536 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(c2 as u32)*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().256 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().(c3 as u32);
37 unsafe { charrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/::from_u32_uncheckedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/from_u32_unchecked().(c) }
38 }
39
40 enum CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal# {
41 Iteratorrust-analyzer cargo ucd 0.1.1 CharIterInternal#Iterator#(slicerust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/::Iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/iter/Iter#<'static, (u8,u8,u8)>),
42 Doublerust-analyzer cargo ucd 0.1.1 CharIterInternal#Double#(char, char),
43 Singlerust-analyzer cargo ucd 0.1.1 CharIterInternal#Single#(char),
44 Exhaustedrust-analyzer cargo ucd 0.1.1 CharIterInternal#Exhausted#
45 }
46
47 pub struct CharIterrust-analyzer cargo ucd 0.1.1 CharIter#(CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#);
48
49 impl CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
50 pub fn newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(osl: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&'static [(u8,u8,u8)]>, cp: char) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
51 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#(match osl {
52 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(sl) => CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Iteratorrust-analyzer cargo ucd 0.1.1 CharIterInternal#Iterator#(sl.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().()),
53 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Singlerust-analyzer cargo ucd 0.1.1 CharIterInternal#Single#(cp)
54 })
55 }
56
57 pub fn hangulrust-analyzer cargo ucd 0.1.1 impl#[CharIter]hangul().(a: char, b: char) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
58 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#(CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Doublerust-analyzer cargo ucd 0.1.1 CharIterInternal#Double#(a, b))
59 }
60 }
61
62 impl Iteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator# for CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
63 type Itemrust-analyzer cargo ucd 0.1.1 impl#[CharIter][Iterator]Item# = char;
64
65 fn nextrust-analyzer cargo ucd 0.1.1 impl#[CharIter][Iterator]next().(&mut self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<char> {
66 match self.0rust-analyzer cargo ucd 0.1.1 CharIter#0. {
67 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Iteratorrust-analyzer cargo ucd 0.1.1 CharIterInternal#Iterator#(ref mut it) => it.nextrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/iter/impl#[`Iter<'a, T>`][Iterator]next().().maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|c| cp_decoderust-analyzer cargo ucd 0.1.1 cp_decode().(*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&T`][Deref]deref().c)),
68 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Doublerust-analyzer cargo ucd 0.1.1 CharIterInternal#Double#(a, b) => {
69 self.0rust-analyzer cargo ucd 0.1.1 CharIter#0. = CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Singlerust-analyzer cargo ucd 0.1.1 CharIterInternal#Single#(b);
70 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(a)
71 },
72 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Singlerust-analyzer cargo ucd 0.1.1 CharIterInternal#Single#(c) => {
73 self.0rust-analyzer cargo ucd 0.1.1 CharIter#0. = CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Exhaustedrust-analyzer cargo ucd 0.1.1 CharIterInternal#Exhausted#;
74 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(c)
75 },
76 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Exhaustedrust-analyzer cargo ucd 0.1.1 CharIterInternal#Exhausted# => Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#
77 }
78 }
79
80 fn size_hintrust-analyzer cargo ucd 0.1.1 impl#[CharIter][Iterator]size_hint().(&self) -> (usize, Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<usize>) {
81 match self.0rust-analyzer cargo ucd 0.1.1 CharIter#0. {
82 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Iteratorrust-analyzer cargo ucd 0.1.1 CharIterInternal#Iterator#(ref it) => it.size_hintrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/iter/impl#[`Iter<'a, T>`][Iterator]size_hint().(),
83 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Doublerust-analyzer cargo ucd 0.1.1 CharIterInternal#Double#(_, _) => (2, Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(2)),
84 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Singlerust-analyzer cargo ucd 0.1.1 CharIterInternal#Single#(_) => (1, Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(1)),
85 CharIterInternalrust-analyzer cargo ucd 0.1.1 CharIterInternal#::Exhaustedrust-analyzer cargo ucd 0.1.1 CharIterInternal#Exhausted# => (0, Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(0))
86 }
87 }
88 }
89
90 pub trait Codepointrust-analyzer cargo ucd 0.1.1 Codepoint# where Self: corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::markerrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/::Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized# {
91 // general
92 fn agerust-analyzer cargo ucd 0.1.1 Codepoint#age().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<(u8,u8)>;
93 fn blockrust-analyzer cargo ucd 0.1.1 Codepoint#block().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<UnicodeBlockrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeBlock#>;
94 fn categoryrust-analyzer cargo ucd 0.1.1 Codepoint#category().(self) -> UnicodeCategoryrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeCategory#;
95 fn codepointrust-analyzer cargo ucd 0.1.1 Codepoint#codepoint().(self) -> char;
96 fn iso_commentrust-analyzer cargo ucd 0.1.1 Codepoint#iso_comment().(self) -> &'static str;
97
98 // function and appearance
99 fn is_alphabeticrust-analyzer cargo ucd 0.1.1 Codepoint#is_alphabetic().(self) -> bool;
100 fn is_alphabetic_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_alphabetic_other().(self) -> bool;
101 fn is_dashrust-analyzer cargo ucd 0.1.1 Codepoint#is_dash().(self) -> bool;
102 fn is_default_ignorablerust-analyzer cargo ucd 0.1.1 Codepoint#is_default_ignorable().(self) -> bool;
103 fn is_default_ignorable_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_default_ignorable_other().(self) -> bool;
104 fn is_deprecatedrust-analyzer cargo ucd 0.1.1 Codepoint#is_deprecated().(self) -> bool;
105 fn is_diacriticrust-analyzer cargo ucd 0.1.1 Codepoint#is_diacritic().(self) -> bool;
106 fn is_extenderrust-analyzer cargo ucd 0.1.1 Codepoint#is_extender().(self) -> bool;
107 fn is_hex_digitrust-analyzer cargo ucd 0.1.1 Codepoint#is_hex_digit().(self) -> bool;
108 fn is_hex_digit_asciirust-analyzer cargo ucd 0.1.1 Codepoint#is_hex_digit_ascii().(self) -> bool;
109 fn is_hyphenrust-analyzer cargo ucd 0.1.1 Codepoint#is_hyphen().(self) -> bool;
110 fn is_logical_order_exceptionrust-analyzer cargo ucd 0.1.1 Codepoint#is_logical_order_exception().(self) -> bool;
111 fn is_mathrust-analyzer cargo ucd 0.1.1 Codepoint#is_math().(self) -> bool;
112 fn is_math_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_math_other().(self) -> bool;
113 fn is_noncharacterrust-analyzer cargo ucd 0.1.1 Codepoint#is_noncharacter().(self) -> bool;
114 fn is_preprended_concatenation_markrust-analyzer cargo ucd 0.1.1 Codepoint#is_preprended_concatenation_mark().(self) -> bool;
115 fn is_quotation_markrust-analyzer cargo ucd 0.1.1 Codepoint#is_quotation_mark().(self) -> bool;
116 fn is_sentence_terminalrust-analyzer cargo ucd 0.1.1 Codepoint#is_sentence_terminal().(self) -> bool;
117 fn is_soft_dottedrust-analyzer cargo ucd 0.1.1 Codepoint#is_soft_dotted().(self) -> bool;
118 fn is_terminal_punctuationrust-analyzer cargo ucd 0.1.1 Codepoint#is_terminal_punctuation().(self) -> bool;
119 fn is_variation_selectorrust-analyzer cargo ucd 0.1.1 Codepoint#is_variation_selector().(self) -> bool;
120 fn is_whitespacerust-analyzer cargo ucd 0.1.1 Codepoint#is_whitespace().(self) -> bool;
121
122 // numeric
123 fn numeric_typerust-analyzer cargo ucd 0.1.1 Codepoint#numeric_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<NumericTyperust-analyzer cargo ucd 0.1.1 tables/misc/NumericType#>;
124 fn numeric_valuerust-analyzer cargo ucd 0.1.1 Codepoint#numeric_value().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Numberrust-analyzer cargo ucd 0.1.1 Number#>;
125
126 // identifiers and syntax
127 fn is_id_continuerust-analyzer cargo ucd 0.1.1 Codepoint#is_id_continue().(self) -> bool;
128 fn is_id_continue_nfkcrust-analyzer cargo ucd 0.1.1 Codepoint#is_id_continue_nfkc().(self) -> bool;
129 fn is_id_continue_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_id_continue_other().(self) -> bool;
130 fn is_id_startrust-analyzer cargo ucd 0.1.1 Codepoint#is_id_start().(self) -> bool;
131 fn is_id_start_nfkcrust-analyzer cargo ucd 0.1.1 Codepoint#is_id_start_nfkc().(self) -> bool;
132 fn is_id_start_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_id_start_other().(self) -> bool;
133 fn is_pattern_syntaxrust-analyzer cargo ucd 0.1.1 Codepoint#is_pattern_syntax().(self) -> bool;
134 fn is_pattern_whitespacerust-analyzer cargo ucd 0.1.1 Codepoint#is_pattern_whitespace().(self) -> bool;
135
136 // scripts
137 fn east_asian_widthrust-analyzer cargo ucd 0.1.1 Codepoint#east_asian_width().(self) -> EastAsianWidthrust-analyzer cargo ucd 0.1.1 tables/misc/EastAsianWidth#;
138 fn hangul_syllable_typerust-analyzer cargo ucd 0.1.1 Codepoint#hangul_syllable_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#>;
139 fn jamo_short_namerust-analyzer cargo ucd 0.1.1 Codepoint#jamo_short_name().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&'static str>;
140 fn indic_positional_categoryrust-analyzer cargo ucd 0.1.1 Codepoint#indic_positional_category().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<IndicPositionalCategoryrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicPositionalCategory#>;
141 fn indic_syllabic_categoryrust-analyzer cargo ucd 0.1.1 Codepoint#indic_syllabic_category().(self) -> IndicSyllabicCategoryrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicSyllabicCategory#;
142 fn is_ideographrust-analyzer cargo ucd 0.1.1 Codepoint#is_ideograph().(self) -> bool;
143 fn is_ideograph_description_sequence_binary_operatorrust-analyzer cargo ucd 0.1.1 Codepoint#is_ideograph_description_sequence_binary_operator().(self) -> bool;
144 fn is_ideograph_description_sequence_radicalrust-analyzer cargo ucd 0.1.1 Codepoint#is_ideograph_description_sequence_radical().(self) -> bool;
145 fn is_ideograph_description_sequence_trinary_operatorrust-analyzer cargo ucd 0.1.1 Codepoint#is_ideograph_description_sequence_trinary_operator().(self) -> bool;
146 fn is_ideograph_unifiedrust-analyzer cargo ucd 0.1.1 Codepoint#is_ideograph_unified().(self) -> bool;
147 fn join_controlrust-analyzer cargo ucd 0.1.1 Codepoint#join_control().(self) -> bool;
148 fn joining_grouprust-analyzer cargo ucd 0.1.1 Codepoint#joining_group().(self) -> JoiningGrouprust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningGroup#;
149 fn joining_typerust-analyzer cargo ucd 0.1.1 Codepoint#joining_type().(self) -> JoiningTyperust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningType#;
150 fn scriptrust-analyzer cargo ucd 0.1.1 Codepoint#script().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Scriptrust-analyzer cargo ucd 0.1.1 tables/scripts/Script#>;
151 fn script_extensionsrust-analyzer cargo ucd 0.1.1 Codepoint#script_extensions().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&'static [Scriptrust-analyzer cargo ucd 0.1.1 tables/scripts/Script#]>;
152
153 // bidirectionality
154 fn bidi_classrust-analyzer cargo ucd 0.1.1 Codepoint#bidi_class().(self) -> BidiClassrust-analyzer cargo ucd 0.1.1 tables/bidi/BidiClass#;
155 fn bidi_is_controlrust-analyzer cargo ucd 0.1.1 Codepoint#bidi_is_control().(self) -> bool;
156 fn bidi_is_mirroredrust-analyzer cargo ucd 0.1.1 Codepoint#bidi_is_mirrored().(self) -> bool;
157 fn bidi_mirrorrust-analyzer cargo ucd 0.1.1 Codepoint#bidi_mirror().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<char>;
158 fn bidi_paired_bracketrust-analyzer cargo ucd 0.1.1 Codepoint#bidi_paired_bracket().(self) -> char;
159 fn bidi_paired_bracket_typerust-analyzer cargo ucd 0.1.1 Codepoint#bidi_paired_bracket_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<BidiPairedBracketTyperust-analyzer cargo ucd 0.1.1 tables/bidi/BidiPairedBracketType#>;
160
161 // case
162 fn casefoldrust-analyzer cargo ucd 0.1.1 Codepoint#casefold().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter#;
163 fn casefold_nfkcrust-analyzer cargo ucd 0.1.1 Codepoint#casefold_nfkc().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter#;
164 fn casefold_nfkc_closurerust-analyzer cargo ucd 0.1.1 Codepoint#casefold_nfkc_closure().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter#;
165 fn casefold_simplerust-analyzer cargo ucd 0.1.1 Codepoint#casefold_simple().(self) -> char;
166 fn changes_when_casefoldedrust-analyzer cargo ucd 0.1.1 Codepoint#changes_when_casefolded().(self) -> bool;
167 fn changes_when_casefolded_nfkcrust-analyzer cargo ucd 0.1.1 Codepoint#changes_when_casefolded_nfkc().(self) -> bool;
168 fn changes_when_casemappedrust-analyzer cargo ucd 0.1.1 Codepoint#changes_when_casemapped().(self) -> bool;
169 fn changes_when_lowercasedrust-analyzer cargo ucd 0.1.1 Codepoint#changes_when_lowercased().(self) -> bool;
170 fn changes_when_titlecasedrust-analyzer cargo ucd 0.1.1 Codepoint#changes_when_titlecased().(self) -> bool;
171 fn changes_when_uppercasedrust-analyzer cargo ucd 0.1.1 Codepoint#changes_when_uppercased().(self) -> bool;
172 fn is_case_ignorablerust-analyzer cargo ucd 0.1.1 Codepoint#is_case_ignorable().(self) -> bool;
173 fn is_casedrust-analyzer cargo ucd 0.1.1 Codepoint#is_cased().(self) -> bool;
174 fn is_lowercaserust-analyzer cargo ucd 0.1.1 Codepoint#is_lowercase().(self) -> bool;
175 fn is_lowercase_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_lowercase_other().(self) -> bool;
176 fn is_uppercaserust-analyzer cargo ucd 0.1.1 Codepoint#is_uppercase().(self) -> bool;
177 fn is_uppercase_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_uppercase_other(). (self) -> bool;
178 fn lowercaserust-analyzer cargo ucd 0.1.1 Codepoint#lowercase().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter#;
179 fn lowercase_simplerust-analyzer cargo ucd 0.1.1 Codepoint#lowercase_simple().(self) -> char;
180 fn titlecaserust-analyzer cargo ucd 0.1.1 Codepoint#titlecase().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter#;
181 fn titlecase_simplerust-analyzer cargo ucd 0.1.1 Codepoint#titlecase_simple().(self) -> char;
182 fn uppercaserust-analyzer cargo ucd 0.1.1 Codepoint#uppercase().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter#;
183 fn uppercase_simplerust-analyzer cargo ucd 0.1.1 Codepoint#uppercase_simple().(self) -> char;
184
185 // normalisation
186 fn canonical_combining_classrust-analyzer cargo ucd 0.1.1 Codepoint#canonical_combining_class().(self) -> u8;
187 fn decomposition_maprust-analyzer cargo ucd 0.1.1 Codepoint#decomposition_map().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter#;
188 fn decomposition_typerust-analyzer cargo ucd 0.1.1 Codepoint#decomposition_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<DecompositionTyperust-analyzer cargo ucd 0.1.1 tables/decomp/DecompositionType#>;
189 fn excluded_from_compositionrust-analyzer cargo ucd 0.1.1 Codepoint#excluded_from_composition().(self) -> bool;
190 fn excluded_from_composition_fullyrust-analyzer cargo ucd 0.1.1 Codepoint#excluded_from_composition_fully().(self) -> bool;
191 fn expands_on_nfcrust-analyzer cargo ucd 0.1.1 Codepoint#expands_on_nfc().(self) -> bool;
192 fn expands_on_nfdrust-analyzer cargo ucd 0.1.1 Codepoint#expands_on_nfd().(self) -> bool;
193 fn expands_on_nfkcrust-analyzer cargo ucd 0.1.1 Codepoint#expands_on_nfkc().(self) -> bool;
194 fn expands_on_nfkdrust-analyzer cargo ucd 0.1.1 Codepoint#expands_on_nfkd().(self) -> bool;
195 fn quick_check_nfcrust-analyzer cargo ucd 0.1.1 Codepoint#quick_check_nfc().(self) -> Trileanrust-analyzer cargo ucd 0.1.1 tables/rem/Trilean#;
196 fn quick_check_nfdrust-analyzer cargo ucd 0.1.1 Codepoint#quick_check_nfd().(self) -> bool;
197 fn quick_check_nfkcrust-analyzer cargo ucd 0.1.1 Codepoint#quick_check_nfkc().(self) -> Trileanrust-analyzer cargo ucd 0.1.1 tables/rem/Trilean#;
198 fn quick_check_nfkdrust-analyzer cargo ucd 0.1.1 Codepoint#quick_check_nfkd().(self) -> bool;
199
200 // segmentation
201 fn grapheme_cluster_breakrust-analyzer cargo ucd 0.1.1 Codepoint#grapheme_cluster_break().(self) -> GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#;
202 fn is_grapheme_baserust-analyzer cargo ucd 0.1.1 Codepoint#is_grapheme_base().(self) -> bool;
203 fn is_grapheme_extendrust-analyzer cargo ucd 0.1.1 Codepoint#is_grapheme_extend().(self) -> bool;
204 fn is_grapheme_extend_otherrust-analyzer cargo ucd 0.1.1 Codepoint#is_grapheme_extend_other().(self) -> bool;
205 fn is_grapheme_linkrust-analyzer cargo ucd 0.1.1 Codepoint#is_grapheme_link().(self) -> bool;
206 fn linebreak_classrust-analyzer cargo ucd 0.1.1 Codepoint#linebreak_class().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<LinebreakClassrust-analyzer cargo ucd 0.1.1 tables/misc/LinebreakClass#>;
207 fn sentence_breakrust-analyzer cargo ucd 0.1.1 Codepoint#sentence_break().(self) -> SentenceBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/SentenceBreak#;
208 fn word_breakrust-analyzer cargo ucd 0.1.1 Codepoint#word_break().(self) -> WordBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/WordBreak#;
209
210 // account for inbuilt char methods, which seem to be for unicode 8.0
211 fn is_alpharust-analyzer cargo ucd 0.1.1 Codepoint#is_alpha().(self) -> bool { Codepointrust-analyzer cargo ucd 0.1.1 Codepoint#::is_alphabeticrust-analyzer cargo ucd 0.1.1 Codepoint#is_alphabetic().(self) }
212 fn is_lowerrust-analyzer cargo ucd 0.1.1 Codepoint#is_lower().(self) -> bool { Codepointrust-analyzer cargo ucd 0.1.1 Codepoint#::is_lowercaserust-analyzer cargo ucd 0.1.1 Codepoint#is_lowercase().(self) }
213 fn is_upperrust-analyzer cargo ucd 0.1.1 Codepoint#is_upper().(self) -> bool { Codepointrust-analyzer cargo ucd 0.1.1 Codepoint#::is_uppercaserust-analyzer cargo ucd 0.1.1 Codepoint#is_uppercase().(self) }
214 fn is_whiterust-analyzer cargo ucd 0.1.1 Codepoint#is_white().(self) -> bool { Codepointrust-analyzer cargo ucd 0.1.1 Codepoint#::is_whitespacerust-analyzer cargo ucd 0.1.1 Codepoint#is_whitespace().(self) }
215 }
216
217 impl Codepointrust-analyzer cargo ucd 0.1.1 Codepoint# for char {
218 // general
219 fn agerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]age().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<(u8,u8)> {
220 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_AGErust-analyzer cargo ucd 0.1.1 tables/general/UCD_AGE..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
221 }
222
223 fn blockrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]block().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<UnicodeBlockrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeBlock#> {
224 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_BLOCKrust-analyzer cargo ucd 0.1.1 tables/general/UCD_BLOCK..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
225 }
226
227 fn categoryrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]category().(self) -> UnicodeCategoryrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeCategory# {
228 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CATrust-analyzer cargo ucd 0.1.1 tables/general/UCD_CAT..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
229 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(UnicodeCategoryrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeCategory#::Unassignedrust-analyzer cargo ucd 0.1.1 tables/general/UnicodeCategory#Unassigned#)
230 }
231
232 fn codepointrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]codepoint().(self) -> char {
233 self
234 }
235
236 fn iso_commentrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]iso_comment().(self) -> &'static str {
237 ""
238 }
239
240
241
242
243 // function and appearance
244 fn is_alphabeticrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_alphabetic().(self) -> bool {
245 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_ALPHArust-analyzer cargo ucd 0.1.1 tables/function/UCD_ALPHA..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
246 }
247
248 fn is_alphabetic_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_alphabetic_other().(self) -> bool {
249 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_ALPHA_OTHERrust-analyzer cargo ucd 0.1.1 tables/function/UCD_ALPHA_OTHER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
250 }
251
252 fn is_dashrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_dash().(self) -> bool {
253 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_DASHrust-analyzer cargo ucd 0.1.1 tables/function/UCD_DASH..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
254 }
255
256 fn is_default_ignorablerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_default_ignorable().(self) -> bool {
257 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_DEFAULT_IGNORABLErust-analyzer cargo ucd 0.1.1 tables/function/UCD_DEFAULT_IGNORABLE..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
258 }
259
260 fn is_default_ignorable_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_default_ignorable_other().(self) -> bool {
261 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_DEFAULT_IGNORABLE_OTHERrust-analyzer cargo ucd 0.1.1 tables/function/UCD_DEFAULT_IGNORABLE_OTHER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
262 }
263
264 fn is_deprecatedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_deprecated().(self) -> bool {
265 match self as u32 {
266 329 | 1651 | 3959 | 3961 | 6051 | 6052 |
267 8298...8303 | 9001 | 9002 | 917505 => true,
268 _ => false
269 }
270 }
271 fn is_diacriticrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_diacritic().(self) -> bool {
272 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_DIACRITICrust-analyzer cargo ucd 0.1.1 tables/function/UCD_DIACRITIC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
273 }
274
275 fn is_extenderrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_extender().(self) -> bool {
276 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_EXTENDERrust-analyzer cargo ucd 0.1.1 tables/function/UCD_EXTENDER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
277 }
278
279 fn is_hex_digitrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_hex_digit().(self) -> bool {
280 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_HEX_DIGITrust-analyzer cargo ucd 0.1.1 tables/function/UCD_HEX_DIGIT..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
281 }
282
283 fn is_hex_digit_asciirust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_hex_digit_ascii().(self) -> bool {
284 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_HEX_DIGIT_ASCIIrust-analyzer cargo ucd 0.1.1 tables/function/UCD_HEX_DIGIT_ASCII..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
285 }
286
287 fn is_hyphenrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_hyphen().(self) -> bool {
288 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_HYPHENrust-analyzer cargo ucd 0.1.1 tables/function/UCD_HYPHEN..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
289 }
290
291 fn is_logical_order_exceptionrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_logical_order_exception().(self) -> bool {
292 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_LOGICAL_ORDER_EXCEPTIONrust-analyzer cargo ucd 0.1.1 tables/function/UCD_LOGICAL_ORDER_EXCEPTION..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
293 }
294
295 fn is_mathrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_math().(self) -> bool {
296 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_MATHrust-analyzer cargo ucd 0.1.1 tables/function/UCD_MATH..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
297 }
298
299 fn is_math_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_math_other().(self) -> bool {
300 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_MATH_OTHERrust-analyzer cargo ucd 0.1.1 tables/function/UCD_MATH_OTHER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
301 }
302
303 fn is_noncharacterrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_noncharacter().(self) -> bool {
304 let cp = self as u32;
305 (cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().0xfdd0 && cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().<=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().0xfdef)
306 || ((cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().0xffff) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().0xfffe)
307 }
308
309 fn is_preprended_concatenation_markrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_preprended_concatenation_mark().(self) -> bool {
310 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_PREPENDED_CONCATENATION_MARKrust-analyzer cargo ucd 0.1.1 tables/function/UCD_PREPENDED_CONCATENATION_MARK..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
311 }
312
313 fn is_quotation_markrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_quotation_mark().(self) -> bool {
314 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_QUOTrust-analyzer cargo ucd 0.1.1 tables/function/UCD_QUOT..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
315 }
316
317 fn is_sentence_terminalrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_sentence_terminal().(self) -> bool {
318 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_TERM_SENTENCErust-analyzer cargo ucd 0.1.1 tables/function/UCD_TERM_SENTENCE..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
319 }
320
321 fn is_soft_dottedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_soft_dotted().(self) -> bool {
322 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_SOFT_DOTTEDrust-analyzer cargo ucd 0.1.1 tables/function/UCD_SOFT_DOTTED..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
323 }
324
325 fn is_terminal_punctuationrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_terminal_punctuation().(self) -> bool {
326 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_TERM_PUNCrust-analyzer cargo ucd 0.1.1 tables/function/UCD_TERM_PUNC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
327 }
328
329 fn is_variation_selectorrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_variation_selector().(self) -> bool {
330 let cp = self as u32;
331 (cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().917760 && cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().<=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().917999)
332 || (cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().65024 && cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().<=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().65039)
333 || (cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().6155 && cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().<=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]le().6157)
334 }
335
336 fn is_whitespacerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_whitespace().(self) -> bool {
337 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_WHITErust-analyzer cargo ucd 0.1.1 tables/function/UCD_WHITE..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
338 }
339
340
341
342
343 // numeric
344 fn numeric_typerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]numeric_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<NumericTyperust-analyzer cargo ucd 0.1.1 tables/misc/NumericType#> {
345 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_NUMTYPErust-analyzer cargo ucd 0.1.1 tables/misc/UCD_NUMTYPE..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
346 }
347
348 fn numeric_valuerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]numeric_value().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Numberrust-analyzer cargo ucd 0.1.1 Number#> {
349 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_NUMVALrust-analyzer cargo ucd 0.1.1 tables/misc/UCD_NUMVAL..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self).maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|i| {
350 match tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_NUMSrust-analyzer cargo ucd 0.1.1 tables/misc/UCD_NUMS.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). {
351 (num, 1) => Numberrust-analyzer cargo ucd 0.1.1 Number#::Integerrust-analyzer cargo ucd 0.1.1 Number#Integer#(num),
352 (num, den) => Numberrust-analyzer cargo ucd 0.1.1 Number#::Rationalrust-analyzer cargo ucd 0.1.1 Number#Rational#(num as i32, den as u32)
353 }
354 })
355 }
356
357
358
359 // identifiers and syntax
360 fn is_id_continuerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_id_continue().(self) -> bool {
361 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_ID_CONTrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_ID_CONT..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
362 }
363
364 fn is_id_continue_nfkcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_id_continue_nfkc().(self) -> bool {
365 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_ID_CONT_NFKCrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_ID_CONT_NFKC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
366 }
367
368 fn is_id_continue_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_id_continue_other().(self) -> bool {
369 match self as u32 {
370 183 | 903 | 4969...4977 | 6618 => true,
371 _ => false
372 }
373 }
374
375 fn is_id_startrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_id_start().(self) -> bool {
376 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_ID_STARTrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_ID_START..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
377 }
378
379 fn is_id_start_nfkcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_id_start_nfkc().(self) -> bool {
380 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_ID_START_NFKCrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_ID_START_NFKC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
381 }
382
383 fn is_id_start_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_id_start_other().(self) -> bool {
384 match self as u32 {
385 6277 | 6278 | 8472 | 8494| 12443 | 12444 => true,
386 _ => false
387 }
388 }
389
390 fn is_pattern_syntaxrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_pattern_syntax().(self) -> bool {
391 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_PATT_SYNTAXrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_PATT_SYNTAX..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
392 }
393
394 fn is_pattern_whitespacerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_pattern_whitespace().(self) -> bool {
395 match self as u32 {
396 9...13 | 32 | 133 | 8206
397 | 8207 | 8232 | 8233 => true,
398 _ => false
399 }
400 }
401
402
403
404
405 // scripts
406 fn east_asian_widthrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]east_asian_width().(self) -> EastAsianWidthrust-analyzer cargo ucd 0.1.1 tables/misc/EastAsianWidth# {
407 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_EAWIDTHrust-analyzer cargo ucd 0.1.1 tables/misc/UCD_EAWIDTH..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
408 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(EastAsianWidthrust-analyzer cargo ucd 0.1.1 tables/misc/EastAsianWidth#::Neutralrust-analyzer cargo ucd 0.1.1 tables/misc/EastAsianWidth#Neutral#)
409 }
410
411 fn hangul_syllable_typerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]hangul_syllable_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#> {
412 let cp = self as u32;
413 match cp {
414 4352...4447 | 43360...43388 => Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LeadingJamorust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LeadingJamo#),
415 4448...4519 | 55216...55238 => Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::VowelJamorust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#VowelJamo#),
416 4520...4607 | 55243...55291 => Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::TrailingJamorust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#TrailingJamo#),
417 44032...55203 => Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#({
418 if cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().%rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().28 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().16 { HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LVSyllablerust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LVSyllable# }
419 else { HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LVTSyllablerust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LVTSyllable# }
420 }),
421 _ => Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#
422 }
423 }
424
425 fn jamo_short_namerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]jamo_short_name().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&'static str> {
426 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_JSNrust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_JSN..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
427 }
428
429 fn indic_positional_categoryrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]indic_positional_category().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<IndicPositionalCategoryrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicPositionalCategory#> {
430 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_INPCrust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_INPC..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
431 }
432
433 fn indic_syllabic_categoryrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]indic_syllabic_category().(self) -> IndicSyllabicCategoryrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicSyllabicCategory# {
434 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_INSCrust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_INSC..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
435 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(IndicSyllabicCategoryrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicSyllabicCategory#::Otherrust-analyzer cargo ucd 0.1.1 tables/scripts/IndicSyllabicCategory#Other#)
436 }
437
438 fn is_ideographrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_ideograph().(self) -> bool {
439 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_IDEOrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_IDEO..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
440 }
441
442 fn is_ideograph_description_sequence_binary_operatorrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_ideograph_description_sequence_binary_operator().(self) -> bool {
443 match self as u32 {
444 12272 | 12273 | 12276...12283 => true,
445 _ => false
446 }
447 }
448
449 fn is_ideograph_description_sequence_radicalrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_ideograph_description_sequence_radical().(self) -> bool {
450 match self as u32 {
451 11904...11929 | 11931...12019 | 12032...12245 => true,
452 _ => false
453 }
454 }
455
456 fn is_ideograph_description_sequence_trinary_operatorrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_ideograph_description_sequence_trinary_operator().(self) -> bool {
457 let cp = self as u32;
458 cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().12274 || cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().12275
459 }
460
461 fn is_ideograph_unifiedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_ideograph_unified().(self) -> bool {
462 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_IDEO_UNIFIEDrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_IDEO_UNIFIED..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
463 }
464
465 fn join_controlrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]join_control().(self) -> bool {
466 let cp = self as u32;
467 cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().8204 || cp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialEq<Self>`]eq().8205
468 }
469
470 fn joining_grouprust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]joining_group().(self) -> JoiningGrouprust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningGroup# {
471 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_JOINGRPrust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_JOINGRP..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
472 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(JoiningGrouprust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningGroup#::NoJoiningGrouprust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningGroup#NoJoiningGroup#)
473 }
474
475 fn joining_typerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]joining_type().(self) -> JoiningTyperust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningType# {
476 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_JOINTYPErust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_JOINTYPE..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
477 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(JoiningTyperust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningType#::NonJoiningrust-analyzer cargo ucd 0.1.1 tables/scripts/JoiningType#NonJoining#)
478 }
479
480 fn scriptrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]script().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Scriptrust-analyzer cargo ucd 0.1.1 tables/scripts/Script#> {
481 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_SCRIPTrust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_SCRIPT..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
482 }
483
484 fn script_extensionsrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]script_extensions().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&'static [Scriptrust-analyzer cargo ucd 0.1.1 tables/scripts/Script#]> {
485 match tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_SCRIPTEXTrust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_SCRIPTEXT..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self) {
486 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => self.scriptrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]script().().maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(
487 |s| tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_SCRIPT_MAPrust-analyzer cargo ucd 0.1.1 tables/scripts/UCD_SCRIPT_MAP.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().s as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().),
488 x => x
489 }
490 }
491
492
493
494
495 // bidirectionality
496 fn bidi_classrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]bidi_class().(self) -> BidiClassrust-analyzer cargo ucd 0.1.1 tables/bidi/BidiClass# {
497 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_BIDI_CLASSrust-analyzer cargo ucd 0.1.1 tables/bidi/UCD_BIDI_CLASS..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
498 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(BidiClassrust-analyzer cargo ucd 0.1.1 tables/bidi/BidiClass#::LeftToRightrust-analyzer cargo ucd 0.1.1 tables/bidi/BidiClass#LeftToRight#)
499 }
500
501 fn bidi_is_controlrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]bidi_is_control().(self) -> bool {
502 match self as u32 {
503 1564 | 8206 | 8207 | 8234...8238 | 8294...8297 => true,
504 _ => false
505 }
506 }
507
508 fn bidi_is_mirroredrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]bidi_is_mirrored().(self) -> bool {
509 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_BIDI_MIRROREDrust-analyzer cargo ucd 0.1.1 tables/bidi/UCD_BIDI_MIRRORED..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
510 }
511
512 fn bidi_mirrorrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]bidi_mirror().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<char> {
513 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_BIDI_MIRRORrust-analyzer cargo ucd 0.1.1 tables/bidi/UCD_BIDI_MIRROR..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[(u16, u16)]`][Search]search().(self)
514 }
515
516 fn bidi_paired_bracketrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]bidi_paired_bracket().(self) -> char {
517 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_BIDI_PAIREDrust-analyzer cargo ucd 0.1.1 tables/bidi/UCD_BIDI_PAIRED..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[(u16, u16)]`][Search]search().(self)
518 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(self)
519 }
520
521 fn bidi_paired_bracket_typerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]bidi_paired_bracket_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<BidiPairedBracketTyperust-analyzer cargo ucd 0.1.1 tables/bidi/BidiPairedBracketType#> {
522 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_BIDI_BRATYPErust-analyzer cargo ucd 0.1.1 tables/bidi/UCD_BIDI_BRATYPE..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
523 }
524
525
526
527
528 // case
529 fn casefoldrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]casefold().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
530 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_FDrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_FD..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self), self)
531 }
532
533 fn casefold_nfkcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]casefold_nfkc().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
534 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_FD_NFKCrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_FD_NFKC..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self), self)
535 }
536
537 fn casefold_nfkc_closurerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]casefold_nfkc_closure().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
538 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_FD_CLOSrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_FD_CLOS..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self), self)
539 }
540
541 fn casefold_simplerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]casefold_simple().(self) -> char {
542 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_SIMP_FDrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_SIMP_FD..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
543 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(cp_decoderust-analyzer cargo ucd 0.1.1 cp_decode().)
544 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(self.codepointrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]codepoint().())
545 }
546
547 fn changes_when_casefoldedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]changes_when_casefolded().(self) -> bool {
548 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_CHANGES_CASEFOLDrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_CHANGES_CASEFOLD..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
549 }
550
551 fn changes_when_casefolded_nfkcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]changes_when_casefolded_nfkc().(self) -> bool {
552 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_CHANGES_CASEFOLD_NFKCrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_CHANGES_CASEFOLD_NFKC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
553 }
554
555 fn changes_when_casemappedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]changes_when_casemapped().(self) -> bool {
556 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_CHANGES_CASEMAPrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_CHANGES_CASEMAP..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
557 }
558
559 fn changes_when_lowercasedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]changes_when_lowercased().(self) -> bool {
560 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_CHANGES_LOWERrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_CHANGES_LOWER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
561 }
562
563 fn changes_when_titlecasedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]changes_when_titlecased().(self) -> bool {
564 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_CHANGES_TITLErust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_CHANGES_TITLE..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
565 }
566
567 fn changes_when_uppercasedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]changes_when_uppercased().(self) -> bool {
568 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_CHANGES_UPPERrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_CHANGES_UPPER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
569 }
570
571 fn is_case_ignorablerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_case_ignorable().(self) -> bool {
572 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_IGNORABLErust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_IGNORABLE..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
573 }
574
575 fn is_casedrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_cased().(self) -> bool {
576 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASEDrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASED..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
577 }
578
579 fn is_lowercaserust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_lowercase().(self) -> bool {
580 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_IS_LOWERrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_IS_LOWER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
581 }
582
583 fn is_lowercase_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_lowercase_other().(self) -> bool {
584 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_IS_LOWER_OTHERrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_IS_LOWER_OTHER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
585 }
586
587 fn is_uppercaserust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_uppercase().(self) -> bool {
588 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_IS_UPPERrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_CASE_IS_UPPER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
589 }
590
591 fn is_uppercase_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_uppercase_other(). (self) -> bool {
592 match self as u32 {
593 8544...8559 | 9398...9423 | 127280...127305
594 | 127312...127337 | 127344...127369 => true,
595 _ => false
596 }
597 }
598
599 fn lowercaserust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]lowercase().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
600 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_LWrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_LW..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self), self)
601 }
602
603 fn lowercase_simplerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]lowercase_simple().(self) -> char {
604 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_SIMP_LWrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_SIMP_LW..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
605 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(cp_decoderust-analyzer cargo ucd 0.1.1 cp_decode().)
606 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(self.codepointrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]codepoint().())
607 }
608
609 fn titlecaserust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]titlecase().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
610 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_TIrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_TI..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self), self)
611 }
612
613 fn titlecase_simplerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]titlecase_simple().(self) -> char {
614 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_SIMP_TIrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_SIMP_TI..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
615 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(cp_decoderust-analyzer cargo ucd 0.1.1 cp_decode().)
616 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(self.codepointrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]codepoint().())
617 }
618
619 fn uppercaserust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]uppercase().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
620 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_UPrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_UP..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self), self)
621 }
622
623 fn uppercase_simplerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]uppercase_simple().(self) -> char {
624 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_CASE_SIMP_UPrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_CASE_SIMP_UP..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self)
625 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(cp_decoderust-analyzer cargo ucd 0.1.1 cp_decode().)
626 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(self.codepointrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]codepoint().())
627 }
628
629
630
631
632 // normalisation
633 fn canonical_combining_classrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]canonical_combining_class().(self) -> u8 {
634 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_COMBCLSrust-analyzer cargo ucd 0.1.1 tables/general/UCD_COMBCLS..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
635 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(0)
636 }
637
638 fn decomposition_maprust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]decomposition_map().(self) -> CharIterrust-analyzer cargo ucd 0.1.1 CharIter# {
639 // manually handle arithmetic decomposition mapping
640 // for hangul syllables, cutting out 11172 entries
641 // from the data table; implementation is directly
642 // from the unicode standard, chapter 3.12
643 const SBASErust-analyzer cargo ucd 0.1.1 SBASE.: u32 = 0xac00;
644 const LBASErust-analyzer cargo ucd 0.1.1 LBASE.: u32 = 0x1100;
645 const VBASErust-analyzer cargo ucd 0.1.1 VBASE.: u32 = 0x1161;
646 const TBASErust-analyzer cargo ucd 0.1.1 TBASE.: u32 = 0x11a7;
647 const VCOUNTrust-analyzer cargo ucd 0.1.1 VCOUNT.: u32 = 21;
648 const TCOUNTrust-analyzer cargo ucd 0.1.1 TCOUNT.: u32 = 28;
649 const NCOUNTrust-analyzer cargo ucd 0.1.1 NCOUNT.: u32 = VCOUNTrust-analyzer cargo ucd 0.1.1 VCOUNT. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().TCOUNTrust-analyzer cargo ucd 0.1.1 TCOUNT.;
650
651 match self.hangul_syllable_typerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]hangul_syllable_type().() {
652 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LVSyllablerust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LVSyllable#) => unsafe {
653 let sindex = (self as u32) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().SBASErust-analyzer cargo ucd 0.1.1 SBASE.;
654 let lindex = sindex rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().NCOUNTrust-analyzer cargo ucd 0.1.1 NCOUNT.;
655 let vindex = (sindex rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().%rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().NCOUNTrust-analyzer cargo ucd 0.1.1 NCOUNT.) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Div<Self>`]div().TCOUNTrust-analyzer cargo ucd 0.1.1 TCOUNT.;
656 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::hangulrust-analyzer cargo ucd 0.1.1 impl#[CharIter]hangul().(
657 charrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/::from_u32_uncheckedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/from_u32_unchecked().(LBASErust-analyzer cargo ucd 0.1.1 LBASE. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().lindex),
658 charrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/::from_u32_uncheckedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/from_u32_unchecked().(VBASErust-analyzer cargo ucd 0.1.1 VBASE. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().vindex))
659 },
660 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LVTSyllablerust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LVTSyllable#) => unsafe {
661 let sindex = (self as u32) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().SBASErust-analyzer cargo ucd 0.1.1 SBASE.;
662 let tindex = sindex rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().%rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Rem<Self>`]rem().TCOUNTrust-analyzer cargo ucd 0.1.1 TCOUNT.;
663 let lvindex = sindex rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().tindex;
664 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::hangulrust-analyzer cargo ucd 0.1.1 impl#[CharIter]hangul().(
665 charrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/::from_u32_uncheckedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/from_u32_unchecked().(SBASErust-analyzer cargo ucd 0.1.1 SBASE. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().lvindex),
666 charrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/::from_u32_uncheckedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core char/from_u32_unchecked().(TBASErust-analyzer cargo ucd 0.1.1 TBASE. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().tindex))
667 },
668 _ =>
669 CharIterrust-analyzer cargo ucd 0.1.1 CharIter#::newrust-analyzer cargo ucd 0.1.1 impl#[CharIter]new().(tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_DECOMP_MAPrust-analyzer cargo ucd 0.1.1 tables/decomp/UCD_DECOMP_MAP..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), S)]`][Search]search().(self), self)
670 }
671 }
672
673 fn decomposition_typerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]decomposition_type().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<DecompositionTyperust-analyzer cargo ucd 0.1.1 tables/decomp/DecompositionType#> {
674 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_DECOMP_TYPErust-analyzer cargo ucd 0.1.1 tables/decomp/UCD_DECOMP_TYPE..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
675 }
676
677 fn excluded_from_compositionrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]excluded_from_composition().(self) -> bool {
678 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_COMP_EXCLrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_COMP_EXCL..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
679 }
680
681 fn excluded_from_composition_fullyrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]excluded_from_composition_fully().(self) -> bool {
682 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_COMP_EXCL_FULLrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_COMP_EXCL_FULL..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
683 }
684
685 fn expands_on_nfcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]expands_on_nfc().(self) -> bool {
686 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_EXPANDING_NFCrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_EXPANDING_NFC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
687 }
688
689 fn expands_on_nfdrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]expands_on_nfd().(self) -> bool {
690 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_EXPANDING_NFDrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_EXPANDING_NFD..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
691 }
692
693 fn expands_on_nfkcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]expands_on_nfkc().(self) -> bool {
694 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_EXPANDING_NFKCrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_EXPANDING_NFKC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
695 }
696
697 fn expands_on_nfkdrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]expands_on_nfkd().(self) -> bool {
698 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_EXPANDING_NFKDrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_EXPANDING_NFKD..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
699 }
700
701 fn quick_check_nfcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]quick_check_nfc().(self) -> Trileanrust-analyzer cargo ucd 0.1.1 tables/rem/Trilean# {
702 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_QNFCrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_QNFC..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
703 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(Trileanrust-analyzer cargo ucd 0.1.1 tables/rem/Trilean#::Truerust-analyzer cargo ucd 0.1.1 tables/rem/Trilean#True#)
704 }
705
706 fn quick_check_nfdrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]quick_check_nfd().(self) -> bool {
707 !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_QUICK_NFDrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_QUICK_NFD..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
708 }
709
710 fn quick_check_nfkcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]quick_check_nfkc().(self) -> Trileanrust-analyzer cargo ucd 0.1.1 tables/rem/Trilean# {
711 match tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_QNFKCrust-analyzer cargo ucd 0.1.1 tables/rem/UCD_QNFKC..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self) {
712 true => Trileanrust-analyzer cargo ucd 0.1.1 tables/rem/Trilean#::Falserust-analyzer cargo ucd 0.1.1 tables/rem/Trilean#False#,
713 false => self.quick_check_nfcrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]quick_check_nfc().()
714 }
715 }
716
717 fn quick_check_nfkdrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]quick_check_nfkd().(self) -> bool {
718 !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_QUICK_NFKDrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_QUICK_NFKD..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
719 }
720
721
722
723
724 // segmentation
725 fn grapheme_cluster_breakrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]grapheme_cluster_break().(self) -> GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak# {
726 let cx = self.clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/impls/impl#[char][Clone]clone().();
727 match self.hangul_syllable_typerust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]hangul_syllable_type().() {
728 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LeadingJamorust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LeadingJamo#) => GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#::LeadingJamorust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#LeadingJamo#,
729 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::VowelJamorust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#VowelJamo#) => GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#::VowelJamorust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#VowelJamo#,
730 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::TrailingJamorust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#TrailingJamo#) => GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#::TrailingJamorust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#TrailingJamo#,
731 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LVSyllablerust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LVSyllable#) => GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#::LVHangulSyllablerust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#LVHangulSyllable#,
732 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(HangulSyllableTyperust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#::LVTSyllablerust-analyzer cargo ucd 0.1.1 tables/scripts/HangulSyllableType#LVTSyllable#) => GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#::LVTHangulSyllablerust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#LVTHangulSyllable#,
733 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_GCBrust-analyzer cargo ucd 0.1.1 tables/decomp/UCD_GCB..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(cx)
734 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(GraphemeClusterBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#::Otherrust-analyzer cargo ucd 0.1.1 tables/decomp/GraphemeClusterBreak#Other#)
735 }
736 }
737
738 fn is_grapheme_baserust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_grapheme_base().(self) -> bool {
739 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_GRAPH_BASErust-analyzer cargo ucd 0.1.1 tables/bool/UCD_GRAPH_BASE..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
740 }
741
742 fn is_grapheme_extendrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_grapheme_extend().(self) -> bool {
743 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_GRAPH_EXTrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_GRAPH_EXT..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
744 }
745
746 fn is_grapheme_extend_otherrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_grapheme_extend_other().(self) -> bool {
747 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_GRAPH_EXT_OTHERrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_GRAPH_EXT_OTHER..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
748 }
749
750 fn is_grapheme_linkrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]is_grapheme_link().(self) -> bool {
751 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_GRAPH_LINKrust-analyzer cargo ucd 0.1.1 tables/bool/UCD_GRAPH_LINK..includesrust-analyzer cargo ucd 0.1.1 tables/Search#includes().(self)
752 }
753
754 fn linebreak_classrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]linebreak_class().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<LinebreakClassrust-analyzer cargo ucd 0.1.1 tables/misc/LinebreakClass#> {
755 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_LBrust-analyzer cargo ucd 0.1.1 tables/misc/UCD_LB..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
756 }
757
758 fn sentence_breakrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]sentence_break().(self) -> SentenceBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/SentenceBreak# {
759 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_SBRKrust-analyzer cargo ucd 0.1.1 tables/decomp/UCD_SBRK..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
760 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(SentenceBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/SentenceBreak#::Otherrust-analyzer cargo ucd 0.1.1 tables/decomp/SentenceBreak#Other#)
761 }
762
763 fn word_breakrust-analyzer cargo ucd 0.1.1 impl#[char][Codepoint]word_break().(self) -> WordBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/WordBreak# {
764 tablesrust-analyzer cargo ucd 0.1.1 tables/::UCD_WBRKrust-analyzer cargo ucd 0.1.1 tables/decomp/UCD_WBRK..searchrust-analyzer cargo ucd 0.1.1 tables/impl#[`[((u8, u8, u8), (u8, u8, u8), S)]`][Search]search().(self)
765 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(WordBreakrust-analyzer cargo ucd 0.1.1 tables/decomp/WordBreak#::Otherrust-analyzer cargo ucd 0.1.1 tables/decomp/WordBreak#Other#)
766 }
767 }