Struct read_fonts::tables::cmap::SequentialMapGroup
source · #[repr(C)]#[repr(packed)]pub struct SequentialMapGroup {
pub start_char_code: BigEndian<u32>,
pub end_char_code: BigEndian<u32>,
pub start_glyph_id: BigEndian<u32>,
}Fields§
§start_char_code: BigEndian<u32>First character code in this group; note that if this group is for one or more 16-bit character codes (which is determined from the is32 array), this 32-bit value will have the high 16-bits set to zero
end_char_code: BigEndian<u32>Last character code in this group; same condition as listed above for the startCharCode
start_glyph_id: BigEndian<u32>Glyph index corresponding to the starting character code
Implementations§
source§impl SequentialMapGroup
impl SequentialMapGroup
sourcepub fn start_char_code(&self) -> u32
pub fn start_char_code(&self) -> u32
First character code in this group; note that if this group is for one or more 16-bit character codes (which is determined from the is32 array), this 32-bit value will have the high 16-bits set to zero
sourcepub fn end_char_code(&self) -> u32
pub fn end_char_code(&self) -> u32
Last character code in this group; same condition as listed above for the startCharCode
sourcepub fn start_glyph_id(&self) -> u32
pub fn start_glyph_id(&self) -> u32
Glyph index corresponding to the starting character code
Trait Implementations§
source§impl Clone for SequentialMapGroup
impl Clone for SequentialMapGroup
source§fn clone(&self) -> SequentialMapGroup
fn clone(&self) -> SequentialMapGroup
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 SequentialMapGroup
impl Debug for SequentialMapGroup
source§impl FixedSize for SequentialMapGroup
impl FixedSize for SequentialMapGroup
source§const RAW_BYTE_LEN: usize = 12usize
const RAW_BYTE_LEN: usize = 12usize
The raw size of this type, in bytes. Read more