Struct write_fonts::tables::gsub::AlternateSet
source · pub struct AlternateSet {
pub alternate_glyph_ids: Vec<GlyphId>,
}Expand description
Part of AlternateSubstFormat1
Fields§
§alternate_glyph_ids: Vec<GlyphId>Array of alternate glyph IDs, in arbitrary order
Implementations§
Trait Implementations§
source§impl Clone for AlternateSet
impl Clone for AlternateSet
source§fn clone(&self) -> AlternateSet
fn clone(&self) -> AlternateSet
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 AlternateSet
impl Debug for AlternateSet
source§impl Default for AlternateSet
impl Default for AlternateSet
source§fn default() -> AlternateSet
fn default() -> AlternateSet
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for AlternateSet
impl<'a> FontRead<'a> for AlternateSet
source§impl FontWrite for AlternateSet
impl FontWrite for AlternateSet
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§impl Validate for AlternateSet
impl Validate for AlternateSet
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 AlternateSet
impl Send for AlternateSet
impl Sync for AlternateSet
impl Unpin for AlternateSet
impl UnwindSafe for AlternateSet
Blanket Implementations§
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.