#[non_exhaustive]enum BinaryProperty {
Show 69 variants
Alnum = 44,
Alphabetic = 0,
AsciiHexDigit = 1,
BidiControl = 2,
BidiMirrored = 3,
Blank = 45,
Cased = 49,
CaseIgnorable = 50,
CaseSensitive = 34,
ChangesWhenCasefolded = 54,
ChangesWhenCasemapped = 55,
ChangesWhenLowercased = 51,
ChangesWhenNfkcCasefolded = 56,
ChangesWhenTitlecased = 53,
ChangesWhenUppercased = 52,
Dash = 4,
DefaultIgnorableCodePoint = 5,
Deprecated = 6,
Diacritic = 7,
Emoji = 57,
EmojiComponent = 61,
EmojiModifier = 59,
EmojiModifierBase = 60,
EmojiPresentation = 58,
ExtendedPictographic = 64,
Extender = 8,
FullCompositionExclusion = 9,
Graph = 46,
GraphemeBase = 10,
GraphemeExtend = 11,
GraphemeLink = 12,
HexDigit = 13,
Hyphen = 14,
IdCompatMathContinue = 65,
IdCompatMathStart = 66,
IdContinue = 15,
Ideographic = 17,
IdsBinaryOperator = 18,
IdStart = 16,
IdsTrinaryOperator = 19,
IdsUnaryOperator = 67,
JoinControl = 20,
LogicalOrderException = 21,
Lowercase = 22,
Math = 23,
ModifierCombiningMark = 68,
NfcInert = 39,
NfdInert = 37,
NfkcInert = 40,
NfkdInert = 38,
NoncharacterCodePoint = 24,
PatternSyntax = 42,
PatternWhiteSpace = 43,
PrependedConcatenationMark = 63,
Print = 47,
QuotationMark = 25,
Radical = 26,
RegionalIndicator = 62,
SegmentStarter = 41,
SentenceTerminal = 35,
SoftDotted = 27,
TerminalPunctuation = 28,
UnifiedIdeograph = 29,
Uppercase = 30,
VariationSelector = 36,
WhiteSpace = 31,
Xdigit = 48,
XidContinue = 32,
XidStart = 33,
}Expand description
This type can represent any binary 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.
Alnum = 44
Alphabetic = 0
AsciiHexDigit = 1
BidiControl = 2
BidiMirrored = 3
Blank = 45
Cased = 49
CaseIgnorable = 50
CaseSensitive = 34
ChangesWhenCasefolded = 54
ChangesWhenCasemapped = 55
ChangesWhenLowercased = 51
ChangesWhenNfkcCasefolded = 56
ChangesWhenTitlecased = 53
ChangesWhenUppercased = 52
Dash = 4
DefaultIgnorableCodePoint = 5
Deprecated = 6
Diacritic = 7
Emoji = 57
EmojiComponent = 61
EmojiModifier = 59
EmojiModifierBase = 60
EmojiPresentation = 58
ExtendedPictographic = 64
Extender = 8
FullCompositionExclusion = 9
Graph = 46
GraphemeBase = 10
GraphemeExtend = 11
GraphemeLink = 12
HexDigit = 13
Hyphen = 14
IdCompatMathContinue = 65
IdCompatMathStart = 66
IdContinue = 15
Ideographic = 17
IdsBinaryOperator = 18
IdStart = 16
IdsTrinaryOperator = 19
IdsUnaryOperator = 67
JoinControl = 20
LogicalOrderException = 21
Lowercase = 22
Math = 23
ModifierCombiningMark = 68
NfcInert = 39
NfdInert = 37
NfkcInert = 40
NfkdInert = 38
NoncharacterCodePoint = 24
PatternSyntax = 42
PatternWhiteSpace = 43
PrependedConcatenationMark = 63
Print = 47
QuotationMark = 25
Radical = 26
RegionalIndicator = 62
SegmentStarter = 41
SentenceTerminal = 35
SoftDotted = 27
TerminalPunctuation = 28
UnifiedIdeograph = 29
Uppercase = 30
VariationSelector = 36
WhiteSpace = 31
Xdigit = 48
XidContinue = 32
XidStart = 33
Trait Implementations§
Source§impl Clone for BinaryProperty
impl Clone for BinaryProperty
Source§fn clone(&self) -> BinaryProperty
fn clone(&self) -> BinaryProperty
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 BinaryProperty
impl Debug for BinaryProperty
Source§impl Hash for BinaryProperty
impl Hash for BinaryProperty
Source§impl Ord for BinaryProperty
impl Ord for BinaryProperty
Source§fn cmp(&self, other: &BinaryProperty) -> Ordering
fn cmp(&self, other: &BinaryProperty) -> 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 BinaryProperty
impl PartialEq for BinaryProperty
Source§fn eq(&self, other: &BinaryProperty) -> bool
fn eq(&self, other: &BinaryProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BinaryProperty
impl PartialOrd for BinaryProperty
impl Copy for BinaryProperty
impl Eq for BinaryProperty
impl StructuralPartialEq for BinaryProperty
Auto Trait Implementations§
impl Freeze for BinaryProperty
impl RefUnwindSafe for BinaryProperty
impl Send for BinaryProperty
impl Sync for BinaryProperty
impl Unpin for BinaryProperty
impl UnsafeUnpin for BinaryProperty
impl UnwindSafe for BinaryProperty
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