Struct ttf_parser::tables::colr::VariationData
source · struct VariationData<'a> {
variation_store: Option<ItemVariationStore<'a>>,
delta_map: Option<DeltaSetIndexMap<'a>>,
}
Fields§
§variation_store: Option<ItemVariationStore<'a>>
§delta_map: Option<DeltaSetIndexMap<'a>>
Implementations§
source§impl VariationData<'_>
impl VariationData<'_>
fn read_deltas<const N: usize>( &self, var_index_base: u32, coordinates: &[NormalizedCoordinate], ) -> [f32; N]
Trait Implementations§
source§impl<'a> Clone for VariationData<'a>
impl<'a> Clone for VariationData<'a>
source§fn clone(&self) -> VariationData<'a>
fn clone(&self) -> VariationData<'a>
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<'a> Debug for VariationData<'a>
impl<'a> Debug for VariationData<'a>
source§impl<'a> Default for VariationData<'a>
impl<'a> Default for VariationData<'a>
source§fn default() -> VariationData<'a>
fn default() -> VariationData<'a>
Returns the “default value” for a type. Read more
impl<'a> Copy for VariationData<'a>
Auto Trait Implementations§
impl<'a> Freeze for VariationData<'a>
impl<'a> RefUnwindSafe for VariationData<'a>
impl<'a> Send for VariationData<'a>
impl<'a> Sync for VariationData<'a>
impl<'a> Unpin for VariationData<'a>
impl<'a> UnwindSafe for VariationData<'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