#[repr(C, packed(1))]pub struct TrackTableEntry {
pub track: BigEndian<Fixed>,
pub name_index: BigEndian<NameId>,
pub offset: BigEndian<u16>,
}
Expand description
Single entry in a tracking table.
Fields§
§track: BigEndian<Fixed>
Track value for this record.
name_index: BigEndian<NameId>
The ‘name’ table index for this track (a short word or phrase like "loose" or "very tight"). NameIndex has a value greater than 255 and less than 32768.
offset: BigEndian<u16>
Offset from the start of the tracking table to per-size tracking values for this track.
Implementations§
Source§impl TrackTableEntry
impl TrackTableEntry
Sourcepub fn name_index(&self) -> NameId
pub fn name_index(&self) -> NameId
The ‘name’ table index for this track (a short word or phrase like "loose" or "very tight"). NameIndex has a value greater than 255 and less than 32768.
Trait Implementations§
Source§impl Clone for TrackTableEntry
impl Clone for TrackTableEntry
Source§fn clone(&self) -> TrackTableEntry
fn clone(&self) -> TrackTableEntry
Returns a duplicate 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 TrackTableEntry
impl Debug for TrackTableEntry
Source§impl FixedSize for TrackTableEntry
impl FixedSize for TrackTableEntry
Source§const RAW_BYTE_LEN: usize = 8usize
const RAW_BYTE_LEN: usize = 8usize
The raw size of this type, in bytes. Read more
Source§impl Hash for TrackTableEntry
impl Hash for TrackTableEntry
Source§impl Ord for TrackTableEntry
impl Ord for TrackTableEntry
Source§fn cmp(&self, other: &TrackTableEntry) -> Ordering
fn cmp(&self, other: &TrackTableEntry) -> 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 TrackTableEntry
impl PartialEq for TrackTableEntry
Source§impl PartialOrd for TrackTableEntry
impl PartialOrd for TrackTableEntry
impl AnyBitPattern for TrackTableEntry
impl Copy for TrackTableEntry
impl Eq for TrackTableEntry
impl StructuralPartialEq for TrackTableEntry
Auto Trait Implementations§
impl Freeze for TrackTableEntry
impl RefUnwindSafe for TrackTableEntry
impl Send for TrackTableEntry
impl Sync for TrackTableEntry
impl Unpin for TrackTableEntry
impl UnwindSafe for TrackTableEntry
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
.