pub struct CharacterVariantParams {
    pub feat_ui_label_name_id: u16,
    pub feat_ui_tooltip_text_name_id: u16,
    pub sample_text_name_id: u16,
    pub num_named_parameters: u16,
    pub first_param_ui_label_name_id: u16,
    pub character: Vec<Uint24>,
}
Expand description

featureParams for ‘cv01’-‘cv99’

Fields§

§feat_ui_label_name_id: u16

The ‘name’ table name ID that specifies a string (or strings, for multiple languages) for a user-interface label for this feature. (May be NULL.)

§feat_ui_tooltip_text_name_id: u16

The ‘name’ table name ID that specifies a string (or strings, for multiple languages) that an application can use for tooltip text for this feature. (May be NULL.)

§sample_text_name_id: u16

The ‘name’ table name ID that specifies sample text that illustrates the effect of this feature. (May be NULL.)

§num_named_parameters: u16

Number of named parameters. (May be zero.)

§first_param_ui_label_name_id: u16

The first ‘name’ table name ID used to specify strings for user-interface labels for the feature parameters. (Must be zero if numParameters is zero.)

§character: Vec<Uint24>

The Unicode Scalar Value of the characters for which this feature provides glyph variants.

Implementations§

Construct a new CharacterVariantParams

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Read an instace of Self from the provided data, performing validation. Read more
Write our data and information about offsets into this TableWriter.
Validate this table. Read more
Ensure that this table is well-formed, reporting any errors. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Convert this type into T, using the provided data to resolve any offsets.
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.