#[repr(u8)]pub enum GeneralCategory {
Show 30 variants
Control = 0,
Format = 1,
Unassigned = 2,
PrivateUse = 3,
Surrogate = 4,
LowercaseLetter = 5,
ModifierLetter = 6,
OtherLetter = 7,
TitlecaseLetter = 8,
UppercaseLetter = 9,
SpacingMark = 10,
EnclosingMark = 11,
NonSpacingMark = 12,
DecimalNumber = 13,
LetterNumber = 14,
OtherNumber = 15,
ConnectPunctuation = 16,
DashPunctuation = 17,
ClosePunctuation = 18,
FinalPunctuation = 19,
InitialPunctuation = 20,
OtherPunctuation = 21,
OpenPunctuation = 22,
CurrencySymbol = 23,
ModifierSymbol = 24,
MathSymbol = 25,
OtherSymbol = 26,
LineSeparator = 27,
ParagraphSeparator = 28,
SpaceSeparator = 29,
}
Expand description
A general category value. Equivalent to hb_unicode_general_category_t
.
Variants§
Control = 0
Format = 1
Unassigned = 2
PrivateUse = 3
Surrogate = 4
LowercaseLetter = 5
ModifierLetter = 6
OtherLetter = 7
TitlecaseLetter = 8
UppercaseLetter = 9
SpacingMark = 10
EnclosingMark = 11
NonSpacingMark = 12
DecimalNumber = 13
LetterNumber = 14
OtherNumber = 15
ConnectPunctuation = 16
DashPunctuation = 17
ClosePunctuation = 18
FinalPunctuation = 19
InitialPunctuation = 20
OtherPunctuation = 21
OpenPunctuation = 22
CurrencySymbol = 23
ModifierSymbol = 24
MathSymbol = 25
OtherSymbol = 26
LineSeparator = 27
ParagraphSeparator = 28
SpaceSeparator = 29
Trait Implementations§
Source§impl Clone for GeneralCategory
impl Clone for GeneralCategory
Source§fn clone(&self) -> GeneralCategory
fn clone(&self) -> GeneralCategory
Returns a copy of the value. Read more
1.0.0 · 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 GeneralCategory
impl Debug for GeneralCategory
Source§impl PartialEq for GeneralCategory
impl PartialEq for GeneralCategory
impl Copy for GeneralCategory
impl Eq for GeneralCategory
impl StructuralPartialEq for GeneralCategory
Auto Trait Implementations§
impl Freeze for GeneralCategory
impl RefUnwindSafe for GeneralCategory
impl Send for GeneralCategory
impl Sync for GeneralCategory
impl Unpin for GeneralCategory
impl UnwindSafe for GeneralCategory
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