pub struct AxisValueFormat2 {
    pub axis_index: u16,
    pub flags: AxisValueTableFlags,
    pub value_name_id: u16,
    pub nominal_value: Fixed,
    pub range_min_value: Fixed,
    pub range_max_value: Fixed,
}
Expand description

Fields§

§axis_index: u16

Zero-base index into the axis record array identifying the axis of design variation to which the axis value table applies. Must be less than designAxisCount.

§flags: AxisValueTableFlags

Flags — see below for details.

§value_name_id: u16

The name ID for entries in the ‘name’ table that provide a display string for this attribute value.

§nominal_value: Fixed

A nominal numeric value for this attribute value.

§range_min_value: Fixed

The minimum value for a range associated with the specified name ID.

§range_max_value: Fixed

The maximum value for a range associated with the specified name ID.

Implementations§

Construct a new AxisValueFormat2

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.