FeatureListTable
struct · ferroui-base · v0.5.0
struct FeatureListTable
The feature tags of a GSUB or GPOS table.
Members
features
fn features(self: &Self) -> &[OpenTypeTag]
The distinct feature tags, in table order.
load_gsub
fn load_gsub(font: &dyn IFontMemory) -> Result<Option<FeatureListTable>, FontTableError>
Loads the features of the GSUB table.
Ok(None) when the font has no GSUB table; Err when it is malformed.
load_gpos
fn load_gpos(font: &dyn IFontMemory) -> Result<Option<FeatureListTable>, FontTableError>
Loads the features of the GPOS table.
Ok(None) when the font has no GPOS table; Err when it is malformed.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.