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