Struct allsorts::woff2::Woff2TableProvider
source · [−]pub struct Woff2TableProvider { /* private fields */ }
Implementations
Trait Implementations
sourceimpl FontTableProvider for Woff2TableProvider
impl FontTableProvider for Woff2TableProvider
sourcefn table_data<'a>(
&'a self,
tag: u32
) -> Result<Option<Cow<'a, [u8]>>, ParseError>
fn table_data<'a>(
&'a self,
tag: u32
) -> Result<Option<Cow<'a, [u8]>>, ParseError>
Return data for the specified table if present
fn has_table(&self, tag: u32) -> bool
fn read_table_data<'a>(&'a self, tag: u32) -> Result<Cow<'a, [u8]>, ParseError>
sourceimpl SfntVersion for Woff2TableProvider
impl SfntVersion for Woff2TableProvider
fn sfnt_version(&self) -> u32
Auto Trait Implementations
impl RefUnwindSafe for Woff2TableProvider
impl Send for Woff2TableProvider
impl Sync for Woff2TableProvider
impl Unpin for Woff2TableProvider
impl UnwindSafe for Woff2TableProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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