Type Alias read_fonts::tables::layout::LangSys

source ·
pub type LangSys<'a> = TableRef<'a, LangSysMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> LangSys<'a>

source

pub fn required_feature_index(&self) -> u16

Index of a feature required for this language system; if no required features = 0xFFFF

source

pub fn feature_index_count(&self) -> u16

Number of feature index values for this language system — excludes the required feature

source

pub fn feature_indices(&self) -> &'a [BigEndian<u16>]

Array of indices into the FeatureList, in arbitrary order

Trait Implementations§

source§

impl<'a> Debug for LangSys<'a>

source§

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

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

impl<'a> FontRead<'a> for LangSys<'a>

source§

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

Read an instace of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for LangSys<'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.