Struct read_fonts::tables::cmap::SequentialMapGroup
source · #[repr(C, packed(1))]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
source§impl Hash for SequentialMapGroup
impl Hash for SequentialMapGroup
source§impl Ord for SequentialMapGroup
impl Ord for SequentialMapGroup
source§fn cmp(&self, other: &SequentialMapGroup) -> Ordering
fn cmp(&self, other: &SequentialMapGroup) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SequentialMapGroup
impl PartialEq for SequentialMapGroup
source§fn eq(&self, other: &SequentialMapGroup) -> bool
fn eq(&self, other: &SequentialMapGroup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SequentialMapGroup
impl PartialOrd for SequentialMapGroup
source§fn partial_cmp(&self, other: &SequentialMapGroup) -> Option<Ordering>
fn partial_cmp(&self, other: &SequentialMapGroup) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> SomeRecord<'a> for SequentialMapGroup
impl<'a> SomeRecord<'a> for SequentialMapGroup
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for SequentialMapGroup
impl Copy for SequentialMapGroup
impl Eq for SequentialMapGroup
impl StructuralPartialEq for SequentialMapGroup
Auto Trait Implementations§
impl Freeze for SequentialMapGroup
impl RefUnwindSafe for SequentialMapGroup
impl Send for SequentialMapGroup
impl Sync for SequentialMapGroup
impl Unpin for SequentialMapGroup
impl UnwindSafe for SequentialMapGroup
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.