Enum fonttools::layout::common::FeatureParams[][src]

pub enum FeatureParams {
    StylisticSet(uint16uint16),
    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

StylisticSet(uint16uint16)

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

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.