Struct write_fonts::tables::layout::VariationIndex
source · pub struct VariationIndex {
pub delta_set_outer_index: u16,
pub delta_set_inner_index: u16,
pub delta_format: u16,
}Expand description
Variation index table
Fields§
§delta_set_outer_index: u16A delta-set outer index — used to select an item variation data subtable within the item variation store.
delta_set_inner_index: u16A delta-set inner index — used to select a delta-set row within an item variation data subtable.
delta_format: u16Format, = 0x8000
Implementations§
Trait Implementations§
source§impl Clone for VariationIndex
impl Clone for VariationIndex
source§fn clone(&self) -> VariationIndex
fn clone(&self) -> VariationIndex
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 VariationIndex
impl Debug for VariationIndex
source§impl Default for VariationIndex
impl Default for VariationIndex
source§fn default() -> VariationIndex
fn default() -> VariationIndex
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for VariationIndex
impl<'a> FontRead<'a> for VariationIndex
source§impl FontWrite for VariationIndex
impl FontWrite for VariationIndex
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 VariationIndex
impl Validate for VariationIndex
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 VariationIndex
impl Send for VariationIndex
impl Sync for VariationIndex
impl Unpin for VariationIndex
impl UnwindSafe for VariationIndex
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.