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§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> PartialOrd for Tuple<'a>
impl<'a> PartialOrd for Tuple<'a>
source§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
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
)