Enum ttf_parser::gdef::GlyphClass
source · pub enum GlyphClass {
Base = 1,
Ligature = 2,
Mark = 3,
Component = 4,
}
Expand description
A glyph class.
Variants§
Trait Implementations§
source§impl Clone for GlyphClass
impl Clone for GlyphClass
source§fn clone(&self) -> GlyphClass
fn clone(&self) -> GlyphClass
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 GlyphClass
impl Debug for GlyphClass
source§impl Hash for GlyphClass
impl Hash for GlyphClass
source§impl Ord for GlyphClass
impl Ord for GlyphClass
source§fn cmp(&self, other: &GlyphClass) -> Ordering
fn cmp(&self, other: &GlyphClass) -> 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 GlyphClass
impl PartialEq for GlyphClass
source§impl PartialOrd for GlyphClass
impl PartialOrd for GlyphClass
impl Copy for GlyphClass
impl Eq for GlyphClass
impl StructuralPartialEq for GlyphClass
Auto Trait Implementations§
impl Freeze for GlyphClass
impl RefUnwindSafe for GlyphClass
impl Send for GlyphClass
impl Sync for GlyphClass
impl Unpin for GlyphClass
impl UnwindSafe for GlyphClass
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
)