#[non_exhaustive]enum EnumeratedProperty {
Show 26 variants
BidiClass = 4_096,
BidiPairedBracketType = 4_117,
Block = 4_097,
CombiningClass = 4_098,
DecompositionType = 4_099,
EastAsianWidth = 4_100,
GeneralCategory = 4_101,
GraphemeClusterBreak = 4_114,
HangulSyllableType = 4_107,
IndicConjunctBreak = 4_122,
IndicPositionalCategory = 4_118,
IndicSyllabicCategory = 4_119,
JoiningGroup = 4_102,
JoiningType = 4_103,
LeadCanonicalCombiningClass = 4_112,
LineBreak = 4_104,
NFCQuickCheck = 4_110,
NFDQuickCheck = 4_108,
NFKCQuickCheck = 4_111,
NFKDQuickCheck = 4_109,
NumericType = 4_105,
Script = 4_106,
SentenceBreak = 4_115,
TrailCanonicalCombiningClass = 4_113,
VerticalOrientation = 4_120,
WordBreak = 4_116,
}Expand description
This type can represent any enumerated Unicode property.
This is intended to be used in situations where the exact unicode property needed is only known at runtime, for example in regex engines.
The values are intended to be identical to ICU4C’s UProperty enum
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BidiClass = 4_096
BidiPairedBracketType = 4_117
Block = 4_097
CombiningClass = 4_098
DecompositionType = 4_099
EastAsianWidth = 4_100
GeneralCategory = 4_101
GraphemeClusterBreak = 4_114
HangulSyllableType = 4_107
IndicConjunctBreak = 4_122
IndicPositionalCategory = 4_118
IndicSyllabicCategory = 4_119
JoiningGroup = 4_102
JoiningType = 4_103
LeadCanonicalCombiningClass = 4_112
LineBreak = 4_104
NFCQuickCheck = 4_110
NFDQuickCheck = 4_108
NFKCQuickCheck = 4_111
NFKDQuickCheck = 4_109
NumericType = 4_105
Script = 4_106
SentenceBreak = 4_115
TrailCanonicalCombiningClass = 4_113
VerticalOrientation = 4_120
WordBreak = 4_116
Trait Implementations§
Source§impl Clone for EnumeratedProperty
impl Clone for EnumeratedProperty
Source§fn clone(&self) -> EnumeratedProperty
fn clone(&self) -> EnumeratedProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnumeratedProperty
impl Debug for EnumeratedProperty
Source§impl Hash for EnumeratedProperty
impl Hash for EnumeratedProperty
Source§impl Ord for EnumeratedProperty
impl Ord for EnumeratedProperty
Source§fn cmp(&self, other: &EnumeratedProperty) -> Ordering
fn cmp(&self, other: &EnumeratedProperty) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EnumeratedProperty
impl PartialEq for EnumeratedProperty
Source§fn eq(&self, other: &EnumeratedProperty) -> bool
fn eq(&self, other: &EnumeratedProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EnumeratedProperty
impl PartialOrd for EnumeratedProperty
impl Copy for EnumeratedProperty
impl Eq for EnumeratedProperty
impl StructuralPartialEq for EnumeratedProperty
Auto Trait Implementations§
impl Freeze for EnumeratedProperty
impl RefUnwindSafe for EnumeratedProperty
impl Send for EnumeratedProperty
impl Sync for EnumeratedProperty
impl Unpin for EnumeratedProperty
impl UnsafeUnpin for EnumeratedProperty
impl UnwindSafe for EnumeratedProperty
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more