pub struct Quaternion { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for Quaternion
impl Debug for Quaternion
Source§impl Default for Quaternion
impl Default for Quaternion
Source§fn default() -> Quaternion
fn default() -> Quaternion
Returns the “default value” for a type. Read more
Source§impl<X, Y, Z, W> From<(X, Y, Z, W)> for Quaternionwhere
X: IntoF32,
Y: IntoF32,
Z: IntoF32,
W: IntoF32,
impl<X, Y, Z, W> From<(X, Y, Z, W)> for Quaternionwhere
X: IntoF32,
Y: IntoF32,
Z: IntoF32,
W: IntoF32,
Source§fn from(_: (X, Y, Z, W)) -> Quaternion
fn from(_: (X, Y, Z, W)) -> Quaternion
Converts to this type from the input type.
Source§impl<T> From<T> for Quaternionwhere
T: IntoF32,
impl<T> From<T> for Quaternionwhere
T: IntoF32,
Source§fn from(value: T) -> Quaternion
fn from(value: T) -> Quaternion
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Quaternion
impl RefUnwindSafe for Quaternion
impl Send for Quaternion
impl Sync for Quaternion
impl Unpin for Quaternion
impl UnwindSafe for Quaternion
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