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
source§impl<'a> SomeRecord<'a> for ConstantMapGroup
impl<'a> SomeRecord<'a> for ConstantMapGroup
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl FromBytes for ConstantMapGroup
SAFETY: see the FromBytes trait documentation.
Auto Trait Implementations§
impl RefUnwindSafe for ConstantMapGroup
impl Send for ConstantMapGroup
impl Sync for ConstantMapGroup
impl Unpin for ConstantMapGroup
impl UnwindSafe for ConstantMapGroup
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more