pub struct AxisRecord {
    pub axis_tag: Tag,
    pub axis_name_id: u16,
    pub axis_ordering: u16,
}
Expand description

Fields§

§axis_tag: Tag

A tag identifying the axis of design variation.

§axis_name_id: u16

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

§axis_ordering: u16

A value that applications can use to determine primary sorting of face names, or for ordering of labels when composing family or face names.

Implementations§

Construct a new AxisRecord

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
Write our data and information about offsets into this TableWriter.
Convert from to an instance of Self, using the provided data to resolve offsets.
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.