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.6.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§impl PartialOrd for GeneralCategoryGroup
impl PartialOrd for GeneralCategoryGroup
impl 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
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
)