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
sourceimpl 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
sourceimpl Clone for SequentialMapGroup
impl Clone for SequentialMapGroup
sourcefn clone(&self) -> SequentialMapGroup
fn clone(&self) -> SequentialMapGroup
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SequentialMapGroup
impl Debug for SequentialMapGroup
sourceimpl FixedSize for SequentialMapGroup
impl FixedSize for SequentialMapGroup
sourceconst RAW_BYTE_LEN: usize = 12usize
const RAW_BYTE_LEN: usize = 12usize
The raw size of this type, in bytes. Read more
sourceimpl<'a> SomeRecord<'a> for SequentialMapGroup
impl<'a> SomeRecord<'a> for SequentialMapGroup
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations
impl RefUnwindSafe for SequentialMapGroup
impl Send for SequentialMapGroup
impl Sync for SequentialMapGroup
impl Unpin for SequentialMapGroup
impl UnwindSafe for SequentialMapGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more