Enum read_fonts::tables::gdef::GlyphClassDef
source · #[repr(u16)]pub enum GlyphClassDef {
Base = 1,
Ligature = 2,
Mark = 3,
Component = 4,
// some variants omitted
}
Expand description
Used in the Glyph Class Definition Table
Variants§
Implementations§
Trait Implementations§
source§impl Clone for GlyphClassDef
impl Clone for GlyphClassDef
source§fn clone(&self) -> GlyphClassDef
fn clone(&self) -> GlyphClassDef
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 GlyphClassDef
impl Debug for GlyphClassDef
source§impl Default for GlyphClassDef
impl Default for GlyphClassDef
source§fn default() -> GlyphClassDef
fn default() -> GlyphClassDef
Returns the “default value” for a type. Read more
source§impl<'a> From<GlyphClassDef> for FieldType<'a>
impl<'a> From<GlyphClassDef> for FieldType<'a>
source§fn from(src: GlyphClassDef) -> FieldType<'a>
fn from(src: GlyphClassDef) -> FieldType<'a>
Converts to this type from the input type.
source§impl Hash for GlyphClassDef
impl Hash for GlyphClassDef
source§impl Ord for GlyphClassDef
impl Ord for GlyphClassDef
source§fn cmp(&self, other: &GlyphClassDef) -> Ordering
fn cmp(&self, other: &GlyphClassDef) -> 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 GlyphClassDef
impl PartialEq for GlyphClassDef
source§impl PartialOrd for GlyphClassDef
impl PartialOrd for GlyphClassDef
source§impl Scalar for GlyphClassDef
impl Scalar for GlyphClassDef
impl Copy for GlyphClassDef
impl Eq for GlyphClassDef
impl StructuralPartialEq for GlyphClassDef
Auto Trait Implementations§
impl Freeze for GlyphClassDef
impl RefUnwindSafe for GlyphClassDef
impl Send for GlyphClassDef
impl Sync for GlyphClassDef
impl Unpin for GlyphClassDef
impl UnwindSafe for GlyphClassDef
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
)source§impl<T> FixedSize for Twhere
T: Scalar,
impl<T> FixedSize for Twhere
T: Scalar,
source§const RAW_BYTE_LEN: usize = _
const RAW_BYTE_LEN: usize = _
The raw size of this type, in bytes. Read more