Type Alias read_fonts::tables::gdef::CaretValueFormat1

source ·
pub type CaretValueFormat1<'a> = TableRef<'a, CaretValueFormat1Marker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> CaretValueFormat1<'a>

source

pub fn caret_value_format(&self) -> u16

Format identifier: format = 1

source

pub fn coordinate(&self) -> i16

X or Y value, in design units

Trait Implementations§

source§

impl<'a> Debug for CaretValueFormat1<'a>

source§

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

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

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