Struct read_fonts::tables::variations::TupleVariationData
source · pub struct TupleVariationData<'a, T> { /* private fields */ }
Implementations§
source§impl<'a, T> TupleVariationData<'a, T>where
T: TupleDelta + 'a,
impl<'a, T> TupleVariationData<'a, T>where
T: TupleDelta + 'a,
pub fn tuples(&self) -> TupleVariationIter<'a, T> ⓘ
sourcepub fn active_tuples_at(
&self,
coords: &'a [F2Dot14]
) -> impl Iterator<Item = (TupleVariation<'a, T>, Fixed)> + 'a
pub fn active_tuples_at( &self, coords: &'a [F2Dot14] ) -> impl Iterator<Item = (TupleVariation<'a, T>, Fixed)> + 'a
Returns an iterator over all of the pairs of (variation tuple, scalar) for this glyph that are active for the given set of normalized coordinates.
Trait Implementations§
source§impl<'a, T: Clone> Clone for TupleVariationData<'a, T>
impl<'a, T: Clone> Clone for TupleVariationData<'a, T>
source§fn clone(&self) -> TupleVariationData<'a, T>
fn clone(&self) -> TupleVariationData<'a, T>
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 moreAuto Trait Implementations§
impl<'a, T> Freeze for TupleVariationData<'a, T>
impl<'a, T> RefUnwindSafe for TupleVariationData<'a, T>
impl<'a, T> Send for TupleVariationData<'a, T>
impl<'a, T> Sync for TupleVariationData<'a, T>
impl<'a, T> Unpin for TupleVariationData<'a, T>
impl<'a, T> UnwindSafe for TupleVariationData<'a, T>
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