#[non_exhaustive]pub enum GeneralCategory {
Show 30 variants
ClosePunctuation,
ConnectorPunctuation,
Control,
CurrencySymbol,
DashPunctuation,
DecimalNumber,
EnclosingMark,
FinalPunctuation,
Format,
InitialPunctuation,
LetterNumber,
LineSeparator,
LowercaseLetter,
MathSymbol,
ModifierLetter,
ModifierSymbol,
NonspacingMark,
OpenPunctuation,
OtherLetter,
OtherNumber,
OtherPunctuation,
OtherSymbol,
ParagraphSeparator,
PrivateUse,
SpaceSeparator,
SpacingMark,
Surrogate,
TitlecaseLetter,
Unassigned,
UppercaseLetter,
}
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.
ClosePunctuation
ConnectorPunctuation
Control
CurrencySymbol
DashPunctuation
DecimalNumber
EnclosingMark
FinalPunctuation
Format
InitialPunctuation
LetterNumber
LineSeparator
LowercaseLetter
MathSymbol
ModifierLetter
ModifierSymbol
NonspacingMark
OpenPunctuation
OtherLetter
OtherNumber
OtherPunctuation
OtherSymbol
ParagraphSeparator
PrivateUse
SpaceSeparator
SpacingMark
Surrogate
TitlecaseLetter
Unassigned
UppercaseLetter
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 Hash for GeneralCategory
impl Hash 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
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
)