Struct write_fonts::tables::layout::FeatureTableSubstitution
source · pub struct FeatureTableSubstitution {
pub substitutions: Vec<FeatureTableSubstitutionRecord>,
}Expand description
Fields§
§substitutions: Vec<FeatureTableSubstitutionRecord>Array of feature table substitution records.
Implementations§
source§impl FeatureTableSubstitution
impl FeatureTableSubstitution
sourcepub fn new(substitutions: Vec<FeatureTableSubstitutionRecord>) -> Self
pub fn new(substitutions: Vec<FeatureTableSubstitutionRecord>) -> Self
Construct a new FeatureTableSubstitution
Trait Implementations§
source§impl Clone for FeatureTableSubstitution
impl Clone for FeatureTableSubstitution
source§fn clone(&self) -> FeatureTableSubstitution
fn clone(&self) -> FeatureTableSubstitution
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 FeatureTableSubstitution
impl Debug for FeatureTableSubstitution
source§impl Default for FeatureTableSubstitution
impl Default for FeatureTableSubstitution
source§fn default() -> FeatureTableSubstitution
fn default() -> FeatureTableSubstitution
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for FeatureTableSubstitution
impl<'a> FontRead<'a> for FeatureTableSubstitution
source§impl FontWrite for FeatureTableSubstitution
impl FontWrite for FeatureTableSubstitution
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 FeatureTableSubstitution
impl Validate for FeatureTableSubstitution
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 FeatureTableSubstitution
impl Send for FeatureTableSubstitution
impl Sync for FeatureTableSubstitution
impl Unpin for FeatureTableSubstitution
impl UnwindSafe for FeatureTableSubstitution
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.