Struct write_fonts::tables::variations::ivs_builder::VariationIndexRemapping
source · pub struct VariationIndexRemapping { /* private fields */ }Expand description
A map from the temporary delta set identifiers to the final values.
This is generated when the ItemVariationStore is built; afterwards any tables or records that contain VariationIndex tables need to be remapped.
Implementations§
source§impl VariationIndexRemapping
impl VariationIndexRemapping
pub fn get(&self, from: u32) -> Option<VariationIndex>
Trait Implementations§
source§impl Clone for VariationIndexRemapping
impl Clone for VariationIndexRemapping
source§fn clone(&self) -> VariationIndexRemapping
fn clone(&self) -> VariationIndexRemapping
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 VariationIndexRemapping
impl Debug for VariationIndexRemapping
source§impl Default for VariationIndexRemapping
impl Default for VariationIndexRemapping
source§fn default() -> VariationIndexRemapping
fn default() -> VariationIndexRemapping
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for VariationIndexRemapping
impl Send for VariationIndexRemapping
impl Sync for VariationIndexRemapping
impl Unpin for VariationIndexRemapping
impl UnwindSafe for VariationIndexRemapping
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<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.