Struct write_fonts::tables::gvar::GlyphVariationData
source · pub struct GlyphVariationData { /* private fields */ }Expand description
The serializable representation of a glyph’s variation data
Trait Implementations§
source§impl Clone for GlyphVariationData
impl Clone for GlyphVariationData
source§fn clone(&self) -> GlyphVariationData
fn clone(&self) -> GlyphVariationData
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 GlyphVariationData
impl Debug for GlyphVariationData
source§impl Default for GlyphVariationData
impl Default for GlyphVariationData
source§fn default() -> GlyphVariationData
fn default() -> GlyphVariationData
Returns the “default value” for a type. Read more
source§impl FontWrite for GlyphVariationData
impl FontWrite for GlyphVariationData
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
source§impl Validate for GlyphVariationData
impl Validate for GlyphVariationData
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GlyphVariationData
impl Send for GlyphVariationData
impl Sync for GlyphVariationData
impl Unpin for GlyphVariationData
impl UnwindSafe for GlyphVariationData
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.