Struct ttf_parser::FaceTables[][src]

pub struct FaceTables<'a> {
Show 27 fields pub head: Table, pub hhea: Table, pub maxp: Table, pub cbdt: Option<Table<'a>>, pub cff: Option<Table<'a>>, pub cmap: 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 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 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: Tablehhea: Tablemaxp: Tablecbdt: Option<Table<'a>>cff: Option<Table<'a>>cmap: 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>>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>>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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.