Enum ttf_parser::gdef::GlyphClass
source · pub enum GlyphClass {
Base,
Ligature,
Mark,
Component,
}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<GlyphClass> for GlyphClass
impl PartialEq<GlyphClass> 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<GlyphClass> for GlyphClass
impl PartialOrd<GlyphClass> 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 more