pub struct FaceTables<'a> {Show 37 fields
pub head: Table,
pub hhea: Table,
pub maxp: Table,
pub bdat: Option<Table<'a>>,
pub cbdt: Option<Table<'a>>,
pub cff: Option<Table<'a>>,
pub cmap: Option<Table<'a>>,
pub colr: Option<Table<'a>>,
pub ebdt: Option<Table<'a>>,
pub glyf: Option<Table<'a>>,
pub hmtx: Option<Table<'a>>,
pub kern: Option<Table<'a>>,
pub name: Option<Table<'a>>,
pub os2: Option<Table<'a>>,
pub post: Option<Table<'a>>,
pub sbix: Option<Table<'a>>,
pub stat: Option<Table<'a>>,
pub svg: Option<Table<'a>>,
pub vhea: Option<Table>,
pub vmtx: Option<Table<'a>>,
pub vorg: Option<Table<'a>>,
pub gdef: Option<Table<'a>>,
pub gpos: Option<LayoutTable<'a>>,
pub gsub: Option<LayoutTable<'a>>,
pub math: Option<Table<'a>>,
pub ankr: Option<Table<'a>>,
pub feat: Option<Table<'a>>,
pub kerx: Option<Table<'a>>,
pub morx: Option<Table<'a>>,
pub trak: Option<Table<'a>>,
pub avar: Option<Table<'a>>,
pub cff2: Option<Table<'a>>,
pub fvar: Option<Table<'a>>,
pub gvar: Option<Table<'a>>,
pub hvar: Option<Table<'a>>,
pub mvar: Option<Table<'a>>,
pub vvar: Option<Table<'a>>,
}
Expand description
Parsed face tables.
Unlike Face
, provides a low-level parsing abstraction over TrueType tables.
Useful when you need a direct access to tables data.
Also, used when high-level API is problematic to implement. A good example would be OpenType layout tables (GPOS/GSUB).
Fields§
§head: Table
§hhea: Table
§maxp: Table
§bdat: Option<Table<'a>>
§cbdt: Option<Table<'a>>
§cff: Option<Table<'a>>
§cmap: Option<Table<'a>>
§colr: Option<Table<'a>>
§ebdt: Option<Table<'a>>
§glyf: Option<Table<'a>>
§hmtx: Option<Table<'a>>
§kern: Option<Table<'a>>
§name: Option<Table<'a>>
§os2: Option<Table<'a>>
§post: Option<Table<'a>>
§sbix: Option<Table<'a>>
§stat: Option<Table<'a>>
§svg: Option<Table<'a>>
§vhea: Option<Table>
§vmtx: Option<Table<'a>>
§vorg: Option<Table<'a>>
§gdef: Option<Table<'a>>
§gpos: Option<LayoutTable<'a>>
§gsub: Option<LayoutTable<'a>>
§math: Option<Table<'a>>
§ankr: Option<Table<'a>>
§feat: Option<Table<'a>>
§kerx: Option<Table<'a>>
§morx: Option<Table<'a>>
§trak: Option<Table<'a>>
§avar: Option<Table<'a>>
§cff2: Option<Table<'a>>
§fvar: Option<Table<'a>>
§gvar: Option<Table<'a>>
§hvar: Option<Table<'a>>
§mvar: Option<Table<'a>>
§vvar: Option<Table<'a>>
Trait Implementations§
source§impl<'a> Clone for FaceTables<'a>
impl<'a> Clone for FaceTables<'a>
source§fn clone(&self) -> FaceTables<'a>
fn clone(&self) -> FaceTables<'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 FaceTables<'a>
impl<'a> RefUnwindSafe for FaceTables<'a>
impl<'a> Send for FaceTables<'a>
impl<'a> Sync for FaceTables<'a>
impl<'a> Unpin for FaceTables<'a>
impl<'a> UnwindSafe for FaceTables<'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
)