Struct write_fonts::layout::Feature
source · [−]pub struct Feature {
pub feature_params_offset: NullableOffsetMarker<FeatureParams>,
pub lookup_list_indices: Vec<u16>,
}Expand description
Fields
feature_params_offset: NullableOffsetMarker<FeatureParams>Offset from start of Feature table to FeatureParams table, if defined for the feature and present, else NULL
lookup_list_indices: Vec<u16>Array of indices into the LookupList — zero-based (first lookup is LookupListIndex = 0)
Trait Implementations
sourceimpl FontWrite for Feature
impl FontWrite for Feature
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 Feature
impl Validate for Feature
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 Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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