#[repr(u8)]pub enum Subcategory {
Show 34 variants
Spacing = 0,
Radical = 1,
Math = 2,
Superscript = 3,
Geometry = 4,
Dash = 5,
DecimalDigit = 6,
Currency = 7,
Fraction = 8,
Halfform = 9,
Small = 10,
Number = 11,
Quote = 12,
Space = 13,
Letter = 14,
Jamo = 15,
Format = 16,
Parenthesis = 17,
Matra = 18,
Arrow = 19,
Nonspacing = 20,
Compatibility = 21,
Syllable = 22,
Ligature = 23,
Modifier = 24,
SpacingCombining = 25,
Emoji = 26,
Enclosing = 27,
Composition = 28,
Lowercase = 29,
Uppercase = 30,
Smallcaps = 31,
Conjunct = 32,
Other = 33,
}Expand description
The subcategory of a given glyph
Variants§
Spacing = 0
Radical = 1
Math = 2
Superscript = 3
Geometry = 4
Dash = 5
DecimalDigit = 6
Currency = 7
Fraction = 8
Halfform = 9
Small = 10
Number = 11
Quote = 12
Space = 13
Letter = 14
Jamo = 15
Format = 16
Parenthesis = 17
Matra = 18
Arrow = 19
Nonspacing = 20
Compatibility = 21
Syllable = 22
Ligature = 23
Modifier = 24
SpacingCombining = 25
Emoji = 26
Enclosing = 27
Composition = 28
Lowercase = 29
Uppercase = 30
Smallcaps = 31
Conjunct = 32
Other = 33
Trait Implementations§
Source§impl Clone for Subcategory
impl Clone for Subcategory
Source§fn clone(&self) -> Subcategory
fn clone(&self) -> Subcategory
Returns a duplicate 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 Subcategory
impl Debug for Subcategory
Source§impl Display for Subcategory
impl Display for Subcategory
Source§impl FromStr for Subcategory
impl FromStr for Subcategory
Source§impl Hash for Subcategory
impl Hash for Subcategory
Source§impl Ord for Subcategory
impl Ord for Subcategory
Source§fn cmp(&self, other: &Subcategory) -> Ordering
fn cmp(&self, other: &Subcategory) -> 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 Subcategory
impl PartialEq for Subcategory
Source§impl PartialOrd for Subcategory
impl PartialOrd for Subcategory
impl Copy for Subcategory
impl Eq for Subcategory
impl StructuralPartialEq for Subcategory
Auto Trait Implementations§
impl Freeze for Subcategory
impl RefUnwindSafe for Subcategory
impl Send for Subcategory
impl Sync for Subcategory
impl Unpin for Subcategory
impl UnwindSafe for Subcategory
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.