pub enum MarkBasePos<'a> {
Format1(MarkBasePosFormat1<'a>),
Format2(MarkBasePosFormat2<'a>),
}Expand description
MarkBasePos (ISO/IEC 14496-22:2026).
Variants§
Format1(MarkBasePosFormat1<'a>)
Format2(MarkBasePosFormat2<'a>)
Implementations§
Source§impl<'a> MarkBasePos<'a>
impl<'a> MarkBasePos<'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 pos_format(&self) -> u16
pub fn pos_format(&self) -> u16
Format identifier: format = 1
Sourcepub fn mark_class_count(&self) -> u16
pub fn mark_class_count(&self) -> u16
Number of classes defined for marks
Trait Implementations§
Source§impl<'a> Clone for MarkBasePos<'a>
impl<'a> Clone for MarkBasePos<'a>
Source§fn clone(&self) -> MarkBasePos<'a>
fn clone(&self) -> MarkBasePos<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for MarkBasePos<'_>
impl Default for MarkBasePos<'_>
Source§impl<'a> FontRead<'a> for MarkBasePos<'a>
impl<'a> FontRead<'a> for MarkBasePos<'a>
Source§impl Intersect for MarkBasePos<'_>
impl Intersect for MarkBasePos<'_>
Source§impl<'a> MinByteRange<'a> for MarkBasePos<'a>
impl<'a> MinByteRange<'a> for MarkBasePos<'a>
Auto Trait Implementations§
impl<'a> Freeze for MarkBasePos<'a>
impl<'a> RefUnwindSafe for MarkBasePos<'a>
impl<'a> Send for MarkBasePos<'a>
impl<'a> Sync for MarkBasePos<'a>
impl<'a> Unpin for MarkBasePos<'a>
impl<'a> UnsafeUnpin for MarkBasePos<'a>
impl<'a> UnwindSafe for MarkBasePos<'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