pub type Feat<'a> = TableRef<'a, FeatMarker>;
Expand description
The feature name table.
Aliased Type§
pub struct Feat<'a> {
pub(crate) shape: FeatMarker,
pub(crate) data: FontData<'a>,
}
Fields§
§shape: FeatMarker
§data: FontData<'a>
Implementations§
Source§impl<'a> Feat<'a>
impl<'a> Feat<'a>
Sourcepub fn version(&self) -> MajorMinor
pub fn version(&self) -> MajorMinor
Version number of the feature name table (0x00010000 for the current version).
Sourcepub fn feature_name_count(&self) -> u16
pub fn feature_name_count(&self) -> u16
The number of entries in the feature name array.
Sourcepub fn names(&self) -> &'a [FeatureName]
pub fn names(&self) -> &'a [FeatureName]
The feature name array, sorted by feature type.