Struct read_fonts::tables::layout::SequenceLookupRecord
source · #[repr(C, packed(1))]pub struct SequenceLookupRecord {
pub sequence_index: BigEndian<u16>,
pub lookup_list_index: BigEndian<u16>,
}
Expand description
Fields§
§sequence_index: BigEndian<u16>
Index (zero-based) into the input glyph sequence
lookup_list_index: BigEndian<u16>
Index (zero-based) into the LookupList
Implementations§
source§impl SequenceLookupRecord
impl SequenceLookupRecord
sourcepub fn sequence_index(&self) -> u16
pub fn sequence_index(&self) -> u16
Index (zero-based) into the input glyph sequence
sourcepub fn lookup_list_index(&self) -> u16
pub fn lookup_list_index(&self) -> u16
Index (zero-based) into the LookupList
Trait Implementations§
source§impl Clone for SequenceLookupRecord
impl Clone for SequenceLookupRecord
source§fn clone(&self) -> SequenceLookupRecord
fn clone(&self) -> SequenceLookupRecord
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 SequenceLookupRecord
impl Debug for SequenceLookupRecord
source§impl FixedSize for SequenceLookupRecord
impl FixedSize for SequenceLookupRecord
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 SequenceLookupRecord
impl Hash for SequenceLookupRecord
source§impl Ord for SequenceLookupRecord
impl Ord for SequenceLookupRecord
source§fn cmp(&self, other: &SequenceLookupRecord) -> Ordering
fn cmp(&self, other: &SequenceLookupRecord) -> 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 SequenceLookupRecord
impl PartialEq for SequenceLookupRecord
source§impl PartialOrd for SequenceLookupRecord
impl PartialOrd for SequenceLookupRecord
source§impl<'a> SomeRecord<'a> for SequenceLookupRecord
impl<'a> SomeRecord<'a> for SequenceLookupRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for SequenceLookupRecord
impl Copy for SequenceLookupRecord
impl Eq for SequenceLookupRecord
impl StructuralPartialEq for SequenceLookupRecord
Auto Trait Implementations§
impl Freeze for SequenceLookupRecord
impl RefUnwindSafe for SequenceLookupRecord
impl Send for SequenceLookupRecord
impl Sync for SequenceLookupRecord
impl Unpin for SequenceLookupRecord
impl UnwindSafe for SequenceLookupRecord
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
)