Struct write_fonts::tables::avar::Avar
source · pub struct Avar {
pub axis_segment_maps: Vec<SegmentMaps>,
}Expand description
The avar (Axis Variations) table
Fields§
§axis_segment_maps: Vec<SegmentMaps>The segment maps array — one segment map for each axis, in the order of axes specified in the ‘fvar’ table.
Implementations§
Trait Implementations§
source§impl FontWrite for Avar
impl FontWrite for Avar
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
fn name(&self) -> &'static str
Auto Trait Implementations§
impl RefUnwindSafe for Avar
impl Send for Avar
impl Sync for Avar
impl Unpin for Avar
impl UnwindSafe for Avar
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.