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