Enum gltf::accessor::Dimensions [] [src]

pub enum Dimensions {
    Scalar,
    Vec2,
    Vec3,
    Vec4,
    Mat2,
    Mat3,
    Mat4,
}

Specifies whether an attribute, vector, or matrix.

Variants

Scalar quantity.

2D vector.

3D vector.

4D vector.

2x2 matrix.

3x3 matrix.

4x4 matrix.

Methods

impl Type
[src]

[src]

Returns the equivalent number of scalar quantities this type represents.

Trait Implementations

impl Copy for Type
[src]

impl Clone for Type
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'de> Deserialize<'de> for Type
[src]

[src]

impl Debug for Type
[src]

[src]

Formats the value using the given formatter.