Enum allsorts::woff2::Woff2HmtxTable
source · [−]pub enum Woff2HmtxTable {}
Trait Implementations
sourceimpl<'a> ReadBinaryDep<'a> for Woff2HmtxTable
impl<'a> ReadBinaryDep<'a> for Woff2HmtxTable
sourcefn read_dep(
ctxt: &mut ReadCtxt<'a>,
(hmtx_entry, glyf, num_glyphs, num_h_metrics): Self::Args
) -> Result<Self::HostType, ParseError>
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
(hmtx_entry, glyf, num_glyphs, num_h_metrics): Self::Args
) -> Result<Self::HostType, ParseError>
Read hmtx table from WOFF2 file
num_h_metrics is defined by the hhea
table
type Args = (&'a TableDirectoryEntry, &'a GlyfTable<'a>, usize, usize)
type HostType = HmtxTable<'a>
Auto Trait Implementations
impl RefUnwindSafe for Woff2HmtxTable
impl Send for Woff2HmtxTable
impl Sync for Woff2HmtxTable
impl Unpin for Woff2HmtxTable
impl UnwindSafe for Woff2HmtxTable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more