pub(crate) struct GlyfLoca<'a>(pub(crate) Option<(Glyf<'a>, Loca<'a>)>);Expand description
The outline tables.
These are read as a pair because neither is usable alone: loca gives
the offset of each glyph in glyf.
Tuple Fields§
§0: Option<(Glyf<'a>, Loca<'a>)>Implementations§
Trait Implementations§
Source§impl<'yoke> Yokeable<'yoke> for GlyfLoca<'static>
impl<'yoke> Yokeable<'yoke> for GlyfLoca<'static>
Source§type Output = GlyfLoca<'yoke>
type Output = GlyfLoca<'yoke>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for GlyfLoca<'a>
impl<'a> RefUnwindSafe for GlyfLoca<'a>
impl<'a> Send for GlyfLoca<'a>
impl<'a> Sync for GlyfLoca<'a>
impl<'a> Unpin for GlyfLoca<'a>
impl<'a> UnsafeUnpin for GlyfLoca<'a>
impl<'a> UnwindSafe for GlyfLoca<'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