Struct write_fonts::layout::FeatureTableSubstitutionRecord
source · [−]pub struct FeatureTableSubstitutionRecord {
pub feature_index: u16,
pub alternate_feature_offset: OffsetMarker<Feature, WIDTH_32>,
}Expand description
Used in FeatureTableSubstitution
Fields
feature_index: u16The feature table index to match.
alternate_feature_offset: OffsetMarker<Feature, WIDTH_32>Offset to an alternate feature table, from start of the FeatureTableSubstitution table.
Trait Implementations
sourceimpl Clone for FeatureTableSubstitutionRecord
impl Clone for FeatureTableSubstitutionRecord
sourcefn clone(&self) -> FeatureTableSubstitutionRecord
fn clone(&self) -> FeatureTableSubstitutionRecord
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl FontWrite for FeatureTableSubstitutionRecord
impl FontWrite for FeatureTableSubstitutionRecord
sourcefn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
sourceimpl Validate for FeatureTableSubstitutionRecord
impl Validate for FeatureTableSubstitutionRecord
sourcefn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
Auto Trait Implementations
impl RefUnwindSafe for FeatureTableSubstitutionRecord
impl Send for FeatureTableSubstitutionRecord
impl Sync for FeatureTableSubstitutionRecord
impl Unpin for FeatureTableSubstitutionRecord
impl UnwindSafe for FeatureTableSubstitutionRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more