Type Alias BaseScriptList

Source
pub type BaseScriptList<'a> = TableRef<'a, BaseScriptListMarker>;
Expand description

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<'a> BaseScriptList<'a>

Source

pub fn base_script_count(&self) -> u16

Number of BaseScriptRecords defined

Source

pub fn base_script_records(&self) -> &'a [BaseScriptRecord]

Array of BaseScriptRecords, in alphabetical order by baseScriptTag

Trait Implementations§

Source§

impl<'a> Debug for BaseScriptList<'a>

Source§

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

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

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