Type Alias Morx

Source
pub type Morx<'a> = TableRef<'a, MorxMarker>;
Expand description

Aliased Type§

pub struct Morx<'a> {
    pub(crate) shape: MorxMarker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: MorxMarker§data: FontData<'a>

Implementations§

Source§

impl<'a> Morx<'a>

Source

pub fn version(&self) -> u16

Version number of the extended glyph metamorphosis table (either 2 or 3).

Source

pub fn n_chains(&self) -> u32

Number of metamorphosis chains contained in this table.

Source

pub fn chains(&self) -> VarLenArray<'a, Chain<'a>>

Trait Implementations§

Source§

impl<'a> Debug for Morx<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> FontRead<'a> for Morx<'a>

Source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more
Source§

impl<'a> SomeTable<'a> for Morx<'a>

Source§

fn type_name(&self) -> &str

The name of this table
Source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.
Source§

impl TopLevelTable for Morx<'_>

Source§

const TAG: Tag

morx