Enum read_fonts::tables::gpos::AnchorTable
source · pub enum AnchorTable<'a> {
Format1(AnchorFormat1<'a>),
Format2(AnchorFormat2<'a>),
Format3(AnchorFormat3<'a>),
}
Expand description
Anchor Tables position one glyph with respect to another.
Variants§
Implementations§
source§impl<'a> AnchorTable<'a>
impl<'a> AnchorTable<'a>
sourcepub fn anchor_format(&self) -> u16
pub fn anchor_format(&self) -> u16
Format identifier, = 1
sourcepub fn x_coordinate(&self) -> i16
pub fn x_coordinate(&self) -> i16
Horizontal value, in design units
sourcepub fn y_coordinate(&self) -> i16
pub fn y_coordinate(&self) -> i16
Vertical value, in design units
source§impl<'a> AnchorTable<'a>
impl<'a> AnchorTable<'a>
Trait Implementations§
source§impl<'a> Clone for AnchorTable<'a>
impl<'a> Clone for AnchorTable<'a>
source§fn clone(&self) -> AnchorTable<'a>
fn clone(&self) -> AnchorTable<'a>
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<'a> Debug for AnchorTable<'a>
impl<'a> Debug for AnchorTable<'a>
source§impl<'a> FontRead<'a> for AnchorTable<'a>
impl<'a> FontRead<'a> for AnchorTable<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnchorTable<'a>
impl<'a> RefUnwindSafe for AnchorTable<'a>
impl<'a> Send for AnchorTable<'a>
impl<'a> Sync for AnchorTable<'a>
impl<'a> Unpin for AnchorTable<'a>
impl<'a> UnwindSafe for AnchorTable<'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