#[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
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
.