Struct ttf_parser::cmap::Subtable6 [−][src]
pub struct Subtable6<'a> {
pub first_code_point: u16,
pub glyphs: LazyArray16<'a, GlyphId>,
}
Expand description
A format 6 subtable.
Fields
first_code_point: u16
First character code of subrange.
glyphs: LazyArray16<'a, GlyphId>
Array of glyph indexes for character codes in the range.
Implementations
Returns a glyph index for a code point.
Returns None
when code_point
is larger than u16
.
Calls f
for each codepoint defined in this table.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Subtable6<'a>
impl<'a> UnwindSafe for Subtable6<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more