Type Alias read_fonts::tables::layout::ClassDefFormat1
source · pub type ClassDefFormat1<'a> = TableRef<'a, ClassDefFormat1Marker>;
Expand description
Aliased Type§
struct ClassDefFormat1<'a> { /* private fields */ }
Implementations§
source§impl<'a> ClassDefFormat1<'a>
impl<'a> ClassDefFormat1<'a>
sourcepub fn class_format(&self) -> u16
pub fn class_format(&self) -> u16
Format identifier — format = 1
sourcepub fn start_glyph_id(&self) -> GlyphId16
pub fn start_glyph_id(&self) -> GlyphId16
First glyph ID of the classValueArray
sourcepub fn glyph_count(&self) -> u16
pub fn glyph_count(&self) -> u16
Size of the classValueArray
sourcepub fn class_value_array(&self) -> &'a [BigEndian<u16>]
pub fn class_value_array(&self) -> &'a [BigEndian<u16>]
Array of Class Values — one per glyph ID