Type Alias read_fonts::tables::base::Axis

source ·
pub type Axis<'a> = TableRef<'a, AxisMarker>;
Expand description

Aliased Type§

struct Axis<'a> { /* private fields */ }

Implementations§

source§

impl<'a> Axis<'a>

source

pub fn base_tag_list_offset(&self) -> Nullable<Offset16>

Offset to BaseTagList table, from beginning of Axis table (may be NULL)

source

pub fn base_tag_list(&self) -> Option<Result<BaseTagList<'a>, ReadError>>

Attempt to resolve base_tag_list_offset.

source

pub fn base_script_list_offset(&self) -> Offset16

Offset to BaseScriptList table, from beginning of Axis table

source

pub fn base_script_list(&self) -> Result<BaseScriptList<'a>, ReadError>

Attempt to resolve base_script_list_offset.

Trait Implementations§

source§

impl<'a> Debug for Axis<'a>

source§

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

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

impl<'a> FontRead<'a> for Axis<'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 Axis<'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.