Type Alias DefaultUvs

Source
pub type DefaultUvs<'a> = TableRef<'a, DefaultUvsMarker>;
Expand description

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<'a> DefaultUvs<'a>

Source

pub fn num_unicode_value_ranges(&self) -> u32

Number of Unicode character ranges.

Source

pub fn ranges(&self) -> &'a [UnicodeRange]

Array of UnicodeRange records.

Trait Implementations§

Source§

impl<'a> Debug for DefaultUvs<'a>

Source§

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

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

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