#[repr(C, packed(1))]pub struct AxisValueRecord {
pub axis_index: BigEndian<u16>,
pub value: BigEndian<Fixed>,
}
Expand description
Part of AxisValueFormat4
Fields§
§axis_index: BigEndian<u16>
Zero-base index into the axis record array identifying the axis to which this value applies. Must be less than designAxisCount.
value: BigEndian<Fixed>
A numeric value for this attribute value.
Implementations§
Trait Implementations§
source§impl Clone for AxisValueRecord
impl Clone for AxisValueRecord
source§fn clone(&self) -> AxisValueRecord
fn clone(&self) -> AxisValueRecord
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 AxisValueRecord
impl Debug for AxisValueRecord
source§impl FixedSize for AxisValueRecord
impl FixedSize for AxisValueRecord
source§const RAW_BYTE_LEN: usize = 6usize
const RAW_BYTE_LEN: usize = 6usize
The raw size of this type, in bytes. Read more
source§impl Hash for AxisValueRecord
impl Hash for AxisValueRecord
source§impl Ord for AxisValueRecord
impl Ord for AxisValueRecord
source§fn cmp(&self, other: &AxisValueRecord) -> Ordering
fn cmp(&self, other: &AxisValueRecord) -> 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 AxisValueRecord
impl PartialEq for AxisValueRecord
source§impl PartialOrd for AxisValueRecord
impl PartialOrd for AxisValueRecord
source§impl<'a> SomeRecord<'a> for AxisValueRecord
impl<'a> SomeRecord<'a> for AxisValueRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for AxisValueRecord
impl Copy for AxisValueRecord
impl Eq for AxisValueRecord
impl StructuralPartialEq for AxisValueRecord
Auto Trait Implementations§
impl Freeze for AxisValueRecord
impl RefUnwindSafe for AxisValueRecord
impl Send for AxisValueRecord
impl Sync for AxisValueRecord
impl Unpin for AxisValueRecord
impl UnwindSafe for AxisValueRecord
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
)