Struct gltf_json::scene::UnitQuaternion[][src]

pub struct UnitQuaternion(pub [f32; 4]);

Unit quaternion rotation in the order (x, y, z, w), where w is the scalar.

Trait Implementations

impl Clone for UnitQuaternion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for UnitQuaternion
[src]

impl Debug for UnitQuaternion
[src]

Formats the value using the given formatter. Read more

impl Default for UnitQuaternion
[src]

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

impl Validate for UnitQuaternion
[src]

Validates the data against the glTF 2.0 specification. Read more

Validates only the invariants required for the library to function safely.

Auto Trait Implementations