Struct designspace::Dimension[][src]

pub struct Dimension {
    pub name: String,
    pub xvalue: f32,
    pub yvalue: Option<f32>,
}
Expand description

An individual location component within a location tag

Fields

name: String

The name of the axis (not the axis tag!)

xvalue: f32

The value on the axis

yvalue: Option<f32>

Separate value for anisotropic interpolations

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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.