Struct write_fonts::tables::gvar::SharedTuples
source · pub struct SharedTuples {
pub tuples: Vec<Tuple>,
}Expand description
Array of tuple records shared across all glyph variation data tables.
Fields§
§tuples: Vec<Tuple>Implementations§
Trait Implementations§
source§fn clone(&self) -> SharedTuples
fn clone(&self) -> SharedTuples
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§fn default() -> SharedTuples
fn default() -> SharedTuples
Returns the “default value” for a type. Read more
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.
source§fn table_type(&self) -> TableType
fn table_type(&self) -> TableType
The type of this table. Read more
source§fn cmp(&self, other: &SharedTuples) -> Ordering
fn cmp(&self, other: &SharedTuples) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§fn eq(&self, other: &SharedTuples) -> bool
fn eq(&self, other: &SharedTuples) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§fn partial_cmp(&self, other: &SharedTuples) -> Option<Ordering>
fn partial_cmp(&self, other: &SharedTuples) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.