Struct read_fonts::tables::cmap::ConstantMapGroup
source · #[repr(C, packed(1))]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 Hash for ConstantMapGroup
impl Hash for ConstantMapGroup
source§impl Ord for ConstantMapGroup
impl Ord for ConstantMapGroup
source§fn cmp(&self, other: &ConstantMapGroup) -> Ordering
fn cmp(&self, other: &ConstantMapGroup) -> 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 ConstantMapGroup
impl PartialEq for ConstantMapGroup
source§impl PartialOrd for ConstantMapGroup
impl PartialOrd for ConstantMapGroup
source§impl<'a> SomeRecord<'a> for ConstantMapGroup
impl<'a> SomeRecord<'a> for ConstantMapGroup
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for ConstantMapGroup
impl Copy for ConstantMapGroup
impl Eq for ConstantMapGroup
impl StructuralPartialEq for ConstantMapGroup
Auto Trait Implementations§
impl Freeze for ConstantMapGroup
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
source§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
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)