#[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
source§impl<'a> SomeRecord<'a> for ValueRecord
impl<'a> SomeRecord<'a> for ValueRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
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
.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
)