#[repr(u8)]pub enum Category {
Show 38 variants
Other = 0,
Control = 1,
Format = 2,
Unassigned = 3,
PrivateUse = 4,
Surrogate = 5,
Letter = 6,
CasedLetter = 7,
LowercaseLetter = 8,
ModifierLetter = 9,
OtherLetter = 10,
TitlecaseLetter = 11,
UppercaseLetter = 12,
Mark = 13,
SpacingMark = 14,
EnclosingMark = 15,
NonspacingMark = 16,
Number = 17,
DecimalNumber = 18,
LetterNumber = 19,
OtherNumber = 20,
Punctuation = 21,
ConnectorPunctuation = 22,
DashPunctuation = 23,
ClosePunctuation = 24,
FinalPunctuation = 25,
InitialPunctuation = 26,
OtherPunctuation = 27,
OpenPunctuation = 28,
Symbol = 29,
CurrencySymbol = 30,
ModifierSymbol = 31,
MathSymbol = 32,
OtherSymbol = 33,
Separator = 34,
LineSeparator = 35,
ParagraphSeparator = 36,
SpaceSeparator = 37,
}
Expand description
Unicode general category property.
Variants§
Other = 0
Control = 1
Format = 2
Unassigned = 3
PrivateUse = 4
Surrogate = 5
Letter = 6
CasedLetter = 7
LowercaseLetter = 8
ModifierLetter = 9
OtherLetter = 10
TitlecaseLetter = 11
UppercaseLetter = 12
Mark = 13
SpacingMark = 14
EnclosingMark = 15
NonspacingMark = 16
Number = 17
DecimalNumber = 18
LetterNumber = 19
OtherNumber = 20
Punctuation = 21
ConnectorPunctuation = 22
DashPunctuation = 23
ClosePunctuation = 24
FinalPunctuation = 25
InitialPunctuation = 26
OtherPunctuation = 27
OpenPunctuation = 28
Symbol = 29
CurrencySymbol = 30
ModifierSymbol = 31
MathSymbol = 32
OtherSymbol = 33
Separator = 34
LineSeparator = 35
ParagraphSeparator = 36
SpaceSeparator = 37
Trait Implementations§
source§impl Ord for Category
impl Ord for Category
source§impl PartialOrd for Category
impl PartialOrd for Category
impl Copy for Category
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)