pub enum GeneralCategoryGroup {
Letter,
Mark,
Number,
Punctuation,
Symbol,
Separator,
Other,
}
Expand description
Groupings of the most general classification of a character.
Variants§
Letter
Lu | Ll | Lt | Lm | Lo
Mark
Mn | Mc | Me
Number
Nd | Nl | No
Punctuation
Pc | Pd | Ps | Pe | Pi | Pf | Po
Symbol
Sm | Sc | Sk | So
Separator
Zs | Zl | Zp
Other
Cc | Cf | Cs | Co | Cn
Trait Implementations§
source§impl Clone for GeneralCategoryGroup
impl Clone for GeneralCategoryGroup
source§fn clone(&self) -> GeneralCategoryGroup
fn clone(&self) -> GeneralCategoryGroup
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 GeneralCategoryGroup
impl Debug for GeneralCategoryGroup
source§impl Hash for GeneralCategoryGroup
impl Hash for GeneralCategoryGroup
source§impl Ord for GeneralCategoryGroup
impl Ord for GeneralCategoryGroup
source§fn cmp(&self, other: &GeneralCategoryGroup) -> Ordering
fn cmp(&self, other: &GeneralCategoryGroup) -> Ordering
1.21.0 · 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 GeneralCategoryGroup
impl PartialEq for GeneralCategoryGroup
source§fn eq(&self, other: &GeneralCategoryGroup) -> bool
fn eq(&self, other: &GeneralCategoryGroup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GeneralCategoryGroup
impl PartialOrd for GeneralCategoryGroup
source§fn partial_cmp(&self, other: &GeneralCategoryGroup) -> Option<Ordering>
fn partial_cmp(&self, other: &GeneralCategoryGroup) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for GeneralCategoryGroup
impl Eq for GeneralCategoryGroup
impl StructuralPartialEq for GeneralCategoryGroup
Auto Trait Implementations§
impl Freeze for GeneralCategoryGroup
impl RefUnwindSafe for GeneralCategoryGroup
impl Send for GeneralCategoryGroup
impl Sync for GeneralCategoryGroup
impl Unpin for GeneralCategoryGroup
impl UnwindSafe for GeneralCategoryGroup
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