pub enum ClassDef<'a> {
Format1(ClassDefFormat1<'a>),
Format2(ClassDefFormat2<'a>),
}
Expand description
Variants§
Format1(ClassDefFormat1<'a>)
Format2(ClassDefFormat2<'a>)
Implementations§
Source§impl<'a> ClassDef<'a>
impl<'a> ClassDef<'a>
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return the FontData
used to resolve offsets for this table.
Sourcepub fn class_format(&self) -> u16
pub fn class_format(&self) -> u16
Format identifier — format = 1
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ClassDef<'a>
impl<'a> RefUnwindSafe for ClassDef<'a>
impl<'a> Send for ClassDef<'a>
impl<'a> Sync for ClassDef<'a>
impl<'a> Unpin for ClassDef<'a>
impl<'a> UnwindSafe for ClassDef<'a>
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