pub enum IndexSubtable<'a> {
Format1(IndexSubtable1<'a>),
Format2(IndexSubtable2<'a>),
Format3(IndexSubtable3<'a>),
Format4(IndexSubtable4<'a>),
Format5(IndexSubtable5<'a>),
}
Expand description
IndexSubtables format type.
Variants§
Format1(IndexSubtable1<'a>)
Format2(IndexSubtable2<'a>)
Format3(IndexSubtable3<'a>)
Format4(IndexSubtable4<'a>)
Format5(IndexSubtable5<'a>)
Implementations§
source§impl<'a> IndexSubtable<'a>
impl<'a> IndexSubtable<'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 index_format(&self) -> u16
pub fn index_format(&self) -> u16
Format of this IndexSubTable.
sourcepub fn image_format(&self) -> u16
pub fn image_format(&self) -> u16
Format of EBDT image data.
sourcepub fn image_data_offset(&self) -> u32
pub fn image_data_offset(&self) -> u32
Offset to image data in EBDT table.
Trait Implementations§
source§impl<'a> Clone for IndexSubtable<'a>
impl<'a> Clone for IndexSubtable<'a>
source§fn clone(&self) -> IndexSubtable<'a>
fn clone(&self) -> IndexSubtable<'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 moresource§impl<'a> Debug for IndexSubtable<'a>
impl<'a> Debug for IndexSubtable<'a>
source§impl<'a> FontRead<'a> for IndexSubtable<'a>
impl<'a> FontRead<'a> for IndexSubtable<'a>
Auto Trait Implementations§
impl<'a> Freeze for IndexSubtable<'a>
impl<'a> RefUnwindSafe for IndexSubtable<'a>
impl<'a> Send for IndexSubtable<'a>
impl<'a> Sync for IndexSubtable<'a>
impl<'a> Unpin for IndexSubtable<'a>
impl<'a> UnwindSafe for IndexSubtable<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)