Enum owned_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§fn eq(&self, other: &GlyphClass) -> bool
fn eq(&self, other: &GlyphClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GlyphClass
impl PartialOrd for GlyphClass
source§fn partial_cmp(&self, other: &GlyphClass) -> Option<Ordering>
fn partial_cmp(&self, other: &GlyphClass) -> 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 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