pub enum BaseCoord<'a> {
Format1(BaseCoordFormat1<'a>),
Format2(BaseCoordFormat2<'a>),
Format3(BaseCoordFormat3<'a>),
}
Variants§
Implementations§
Source§impl<'a> BaseCoord<'a>
impl<'a> BaseCoord<'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 base_coord_format(&self) -> u16
pub fn base_coord_format(&self) -> u16
Format identifier — format = 1
Sourcepub fn coordinate(&self) -> i16
pub fn coordinate(&self) -> i16
X or Y value, in design units
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BaseCoord<'a>
impl<'a> RefUnwindSafe for BaseCoord<'a>
impl<'a> Send for BaseCoord<'a>
impl<'a> Sync for BaseCoord<'a>
impl<'a> Unpin for BaseCoord<'a>
impl<'a> UnwindSafe for BaseCoord<'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