Struct read_fonts::tables::layout::RangeRecord
source · #[repr(C)]#[repr(packed)]pub struct RangeRecord {
pub start_glyph_id: BigEndian<GlyphId>,
pub end_glyph_id: BigEndian<GlyphId>,
pub start_coverage_index: BigEndian<u16>,
}Expand description
Used in CoverageFormat2
Fields§
§start_glyph_id: BigEndian<GlyphId>First glyph ID in the range
end_glyph_id: BigEndian<GlyphId>Last glyph ID in the range
start_coverage_index: BigEndian<u16>Coverage Index of first glyph ID in range
Implementations§
source§impl RangeRecord
impl RangeRecord
sourcepub fn start_glyph_id(&self) -> GlyphId
pub fn start_glyph_id(&self) -> GlyphId
First glyph ID in the range
sourcepub fn end_glyph_id(&self) -> GlyphId
pub fn end_glyph_id(&self) -> GlyphId
Last glyph ID in the range
sourcepub fn start_coverage_index(&self) -> u16
pub fn start_coverage_index(&self) -> u16
Coverage Index of first glyph ID in range
Trait Implementations§
source§impl Clone for RangeRecord
impl Clone for RangeRecord
source§fn clone(&self) -> RangeRecord
fn clone(&self) -> RangeRecord
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RangeRecord
impl Debug for RangeRecord
source§impl FixedSize for RangeRecord
impl FixedSize for RangeRecord
source§const RAW_BYTE_LEN: usize = 6usize
const RAW_BYTE_LEN: usize = 6usize
The raw size of this type, in bytes. Read more