pub struct Woff2TableProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl FontTableProvider for Woff2TableProvider
impl FontTableProvider for Woff2TableProvider
Source§fn 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
The tags of the tables within this font. Read more
fn read_table_data(&self, tag: u32) -> Result<Cow<'_, [u8]>, ParseError>
Source§impl SfntVersion for Woff2TableProvider
impl SfntVersion for Woff2TableProvider
fn sfnt_version(&self) -> u32
Auto Trait Implementations§
impl Freeze for Woff2TableProvider
impl RefUnwindSafe for Woff2TableProvider
impl Send for Woff2TableProvider
impl Sync for Woff2TableProvider
impl Unpin for Woff2TableProvider
impl UnwindSafe for Woff2TableProvider
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more