#[repr(C, packed(1))]pub struct GlyphIdOffsetPair {
pub glyph_id: BigEndian<GlyphId16>,
pub sbit_offset: BigEndian<u16>,
}
Expand description
GlyphIdOffsetPair record.
Fields§
§glyph_id: BigEndian<GlyphId16>
Glyph ID of glyph present.
sbit_offset: BigEndian<u16>
Location in EBDT.
Implementations§
Trait Implementations§
Source§impl Clone for GlyphIdOffsetPair
impl Clone for GlyphIdOffsetPair
Source§fn clone(&self) -> GlyphIdOffsetPair
fn clone(&self) -> GlyphIdOffsetPair
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 GlyphIdOffsetPair
impl Debug for GlyphIdOffsetPair
Source§impl FixedSize for GlyphIdOffsetPair
impl FixedSize for GlyphIdOffsetPair
Source§const RAW_BYTE_LEN: usize = 4usize
const RAW_BYTE_LEN: usize = 4usize
The raw size of this type, in bytes. Read more
Source§impl Hash for GlyphIdOffsetPair
impl Hash for GlyphIdOffsetPair
Source§impl Ord for GlyphIdOffsetPair
impl Ord for GlyphIdOffsetPair
Source§fn cmp(&self, other: &GlyphIdOffsetPair) -> Ordering
fn cmp(&self, other: &GlyphIdOffsetPair) -> 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 GlyphIdOffsetPair
impl PartialEq for GlyphIdOffsetPair
Source§impl PartialOrd for GlyphIdOffsetPair
impl PartialOrd for GlyphIdOffsetPair
impl AnyBitPattern for GlyphIdOffsetPair
impl Copy for GlyphIdOffsetPair
impl Eq for GlyphIdOffsetPair
impl StructuralPartialEq for GlyphIdOffsetPair
Auto Trait Implementations§
impl Freeze for GlyphIdOffsetPair
impl RefUnwindSafe for GlyphIdOffsetPair
impl Send for GlyphIdOffsetPair
impl Sync for GlyphIdOffsetPair
impl Unpin for GlyphIdOffsetPair
impl UnwindSafe for GlyphIdOffsetPair
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
.