#[repr(C, packed(1))]pub struct RangeRecord2 {
pub start_glyph_id: BigEndian<GlyphId24>,
pub end_glyph_id: BigEndian<GlyphId24>,
pub start_coverage_index: BigEndian<Uint24>,
}Expand description
RangeRecord2 (ISO/IEC 14496-22:2026).
Fields§
§start_glyph_id: BigEndian<GlyphId24>First glyph ID in the range
end_glyph_id: BigEndian<GlyphId24>Last glyph ID in the range
start_coverage_index: BigEndian<Uint24>Coverage Index of first glyph ID in range
Implementations§
Source§impl RangeRecord2
impl RangeRecord2
Sourcepub fn start_glyph_id(&self) -> GlyphId24
pub fn start_glyph_id(&self) -> GlyphId24
First glyph ID in the range
Sourcepub fn end_glyph_id(&self) -> GlyphId24
pub fn end_glyph_id(&self) -> GlyphId24
Last glyph ID in the range
Sourcepub fn start_coverage_index(&self) -> Uint24
pub fn start_coverage_index(&self) -> Uint24
Coverage Index of first glyph ID in range
Source§impl RangeRecord2
impl RangeRecord2
Trait Implementations§
impl AnyBitPattern for RangeRecord2
Source§impl Clone for RangeRecord2
impl Clone for RangeRecord2
Source§fn clone(&self) -> RangeRecord2
fn clone(&self) -> RangeRecord2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RangeRecord2
Source§impl Debug for RangeRecord2
impl Debug for RangeRecord2
impl Eq for RangeRecord2
Source§impl FixedSize for RangeRecord2
impl FixedSize for RangeRecord2
Source§const RAW_BYTE_LEN: usize
const RAW_BYTE_LEN: usize
The raw size of this type, in bytes. Read more
Source§impl Hash for RangeRecord2
impl Hash for RangeRecord2
Source§impl Ord for RangeRecord2
impl Ord for RangeRecord2
Source§fn cmp(&self, other: &RangeRecord2) -> Ordering
fn cmp(&self, other: &RangeRecord2) -> Ordering
1.21.0 (const: unstable) · 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 RangeRecord2
impl PartialEq for RangeRecord2
Source§impl PartialOrd for RangeRecord2
impl PartialOrd for RangeRecord2
impl StructuralPartialEq for RangeRecord2
Auto Trait Implementations§
impl Freeze for RangeRecord2
impl RefUnwindSafe for RangeRecord2
impl Send for RangeRecord2
impl Sync for RangeRecord2
impl Unpin for RangeRecord2
impl UnsafeUnpin for RangeRecord2
impl UnwindSafe for RangeRecord2
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.