Struct read_fonts::tables::variations::Tuple
source · pub struct Tuple<'a> {
pub values: &'a [BigEndian<F2Dot14>],
}
Expand description
The tuple variation store formats reference regions within the font’s variation space using tuple records. A tuple record identifies a position in terms of normalized coordinates, which use F2DOT14 values.
Fields§
§values: &'a [BigEndian<F2Dot14>]
Coordinate array specifying a position within the font’s variation space.
The number of elements must match the axisCount specified in the ‘fvar’ table.
Implementations§
Trait Implementations§
source§impl ComputeSize for Tuple<'_>
impl ComputeSize for Tuple<'_>
source§fn compute_size(args: &u16) -> usize
fn compute_size(args: &u16) -> usize
Compute the number of bytes required to represent this type.
source§impl<'a> FontReadWithArgs<'a> for Tuple<'a>
impl<'a> FontReadWithArgs<'a> for Tuple<'a>
source§impl<'a> Ord for Tuple<'a>
impl<'a> Ord for Tuple<'a>
source§impl<'a> PartialEq for Tuple<'a>
impl<'a> PartialEq for Tuple<'a>
source§impl<'a> PartialOrd for Tuple<'a>
impl<'a> PartialOrd for Tuple<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> SomeRecord<'a> for Tuple<'a>
impl<'a> SomeRecord<'a> for Tuple<'a>
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl<'a> Eq for Tuple<'a>
impl<'a> StructuralPartialEq for Tuple<'a>
Auto Trait Implementations§
impl<'a> Freeze for Tuple<'a>
impl<'a> RefUnwindSafe for Tuple<'a>
impl<'a> Send for Tuple<'a>
impl<'a> Sync for Tuple<'a>
impl<'a> Unpin for Tuple<'a>
impl<'a> UnwindSafe for Tuple<'a>
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