Struct read_fonts::tables::cmap::ConstantMapGroup
source · #[repr(C)]#[repr(packed)]pub struct ConstantMapGroup {
pub start_char_code: BigEndian<u32>,
pub end_char_code: BigEndian<u32>,
pub glyph_id: BigEndian<u32>,
}Expand description
Part of Cmap13
Fields§
§start_char_code: BigEndian<u32>First character code in this group
end_char_code: BigEndian<u32>Last character code in this group
glyph_id: BigEndian<u32>Glyph index to be used for all the characters in the group’s range.
Implementations§
source§impl ConstantMapGroup
impl ConstantMapGroup
sourcepub fn start_char_code(&self) -> u32
pub fn start_char_code(&self) -> u32
First character code in this group
sourcepub fn end_char_code(&self) -> u32
pub fn end_char_code(&self) -> u32
Last character code in this group
Trait Implementations§
source§impl Clone for ConstantMapGroup
impl Clone for ConstantMapGroup
source§fn clone(&self) -> ConstantMapGroup
fn clone(&self) -> ConstantMapGroup
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 ConstantMapGroup
impl Debug for ConstantMapGroup
source§impl FixedSize for ConstantMapGroup
impl FixedSize for ConstantMapGroup
source§const RAW_BYTE_LEN: usize = 12usize
const RAW_BYTE_LEN: usize = 12usize
The raw size of this type, in bytes. Read more