Enum fonttools::layout::common::FeatureParams [−][src]
pub enum FeatureParams { StylisticSet(uint16, uint16), SizeFeature(sizeFeatureParams), CharacterVariant(cvFeatureParams), }
Expand description
Feature parameter data.
Certain OpenType features may have various ancillary data attached to them. The format of this data varies from feature to feature, so this container wraps the general concept of feature parameter data.
Variants
The stylistic set features (ss01
-ss20
) may provide two parameters: a
parameter data version, currently set to zero, and a name table ID
which is used to display the stylistic set name to the user.
SizeFeature(sizeFeatureParams)
Feature parameter information for the size
feature, including the
design size, subfamily identifier and name ID, and largest and smallest
intended sizes. This has been superseded by the STAT
table.
CharacterVariant(cvFeatureParams)
The character variant features (cv01
-cv99
) provide various name
parameters to display information to the user.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FeatureParams
impl Send for FeatureParams
impl Sync for FeatureParams
impl Unpin for FeatureParams
impl UnwindSafe for FeatureParams