#[repr(C, packed(1))]pub struct ValueRecord {
pub value_tag: BigEndian<Tag>,
pub delta_set_outer_index: BigEndian<u16>,
pub delta_set_inner_index: BigEndian<u16>,
}
Expand description
ValueRecord metrics variation record
Fields§
§value_tag: BigEndian<Tag>
Four-byte tag identifying a font-wide measure.
delta_set_outer_index: BigEndian<u16>
A delta-set outer index — used to select an item variation data subtable within the item variation store.
delta_set_inner_index: BigEndian<u16>
A delta-set inner index — used to select a delta-set row within an item variation data subtable.
Implementations§
Source§impl ValueRecord
impl ValueRecord
Sourcepub fn delta_set_outer_index(&self) -> u16
pub fn delta_set_outer_index(&self) -> u16
A delta-set outer index — used to select an item variation data subtable within the item variation store.
Sourcepub fn delta_set_inner_index(&self) -> u16
pub fn delta_set_inner_index(&self) -> u16
A delta-set inner index — used to select a delta-set row within an item variation data subtable.
Trait Implementations§
Source§impl Clone for ValueRecord
impl Clone for ValueRecord
Source§fn clone(&self) -> ValueRecord
fn clone(&self) -> ValueRecord
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 ValueRecord
impl Debug for ValueRecord
Source§impl FixedSize for ValueRecord
impl FixedSize for ValueRecord
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 ValueRecord
impl Hash for ValueRecord
Source§impl Ord for ValueRecord
impl Ord for ValueRecord
Source§fn cmp(&self, other: &ValueRecord) -> Ordering
fn cmp(&self, other: &ValueRecord) -> 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 ValueRecord
impl PartialEq for ValueRecord
Source§impl PartialOrd for ValueRecord
impl PartialOrd for ValueRecord
impl AnyBitPattern for ValueRecord
impl Copy for ValueRecord
impl Eq for ValueRecord
impl StructuralPartialEq for ValueRecord
Auto Trait Implementations§
impl Freeze for ValueRecord
impl RefUnwindSafe for ValueRecord
impl Send for ValueRecord
impl Sync for ValueRecord
impl Unpin for ValueRecord
impl UnwindSafe for ValueRecord
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
.