Struct gltf_json::scene::UnitQuaternion
source · pub struct UnitQuaternion(pub [f32; 4]);
Expand description
Unit quaternion rotation in the order (x, y, z, w), where w is the scalar.
Tuple Fields§
§0: [f32; 4]
Trait Implementations§
source§impl Clone for UnitQuaternion
impl Clone for UnitQuaternion
source§fn clone(&self) -> UnitQuaternion
fn clone(&self) -> UnitQuaternion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnitQuaternion
impl Debug for UnitQuaternion
source§impl Default for UnitQuaternion
impl Default for UnitQuaternion
source§impl<'de> Deserialize<'de> for UnitQuaternion
impl<'de> Deserialize<'de> for UnitQuaternion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for UnitQuaternion
impl Serialize for UnitQuaternion
source§impl Validate for UnitQuaternion
impl Validate for UnitQuaternion
impl Copy for UnitQuaternion
Auto Trait Implementations§
impl Freeze for UnitQuaternion
impl RefUnwindSafe for UnitQuaternion
impl Send for UnitQuaternion
impl Sync for UnitQuaternion
impl Unpin for UnitQuaternion
impl UnwindSafe for UnitQuaternion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more