Struct spectra::scene::scale::Scale [] [src]

pub struct Scale {
    pub x: f32,
    pub y: f32,
    pub z: f32,
}

Arbritrary scale.

Fields

Methods

impl Scale
[src]

[src]

Arbitrary scale along the X, Y and Z axis.

[src]

Uniform scale along the X, Y and Z axis.

Trait Implementations

impl SplineDeserializerAdapter for Scale
[src]

impl Interpolate for Scale
[src]

[src]

Linear interpolation.

[src]

Cubic hermite interpolation. Read more

impl Clone for Scale
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Scale
[src]

impl Debug for Scale
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Scale
[src]

[src]

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

[src]

This method tests for !=.

impl Default for Scale
[src]

[src]

Returns the "default value" for a type. Read more

impl From<[f32; 3]> for Scale
[src]

[src]

Performs the conversion.

impl From<Scale> for [f32; 3]
[src]

[src]

Performs the conversion.

impl From<Scale> for M44<f32>
[src]

[src]

Performs the conversion.

impl Transformable for Scale
[src]

impl Mul for Scale
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl One for Scale
[src]

[src]

Returns the multiplicative identity element of Self, 1. Read more

[src]

Returns true if self is equal to the multiplicative identity. Read more

Auto Trait Implementations

impl Send for Scale

impl Sync for Scale