pub enum CoverageTable<'a> {
Format1(CoverageFormat1<'a>),
Format2(CoverageFormat2<'a>),
}
Expand description
Variants§
Format1(CoverageFormat1<'a>)
Format2(CoverageFormat2<'a>)
Implementations§
Source§impl<'a> CoverageTable<'a>
impl<'a> CoverageTable<'a>
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return the FontData
used to resolve offsets for this table.
Sourcepub fn coverage_format(&self) -> u16
pub fn coverage_format(&self) -> u16
Format identifier — format = 1
Trait Implementations§
Source§impl<'a> Clone for CoverageTable<'a>
impl<'a> Clone for CoverageTable<'a>
Source§fn clone(&self) -> CoverageTable<'a>
fn clone(&self) -> CoverageTable<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for CoverageTable<'a>
impl<'a> RefUnwindSafe for CoverageTable<'a>
impl<'a> Send for CoverageTable<'a>
impl<'a> Sync for CoverageTable<'a>
impl<'a> Unpin for CoverageTable<'a>
impl<'a> UnwindSafe for CoverageTable<'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