[−][src]Struct micromath::quaternion::Quaternion
Quaternion
Methods
impl Quaternion
[src]
pub fn conj(self) -> Self
[src]
Returns the conjugate of this quaternion
pub fn norm(self) -> f32
[src]
Returns the norm of this quaternion
Trait Implementations
impl Debug for Quaternion
[src]
impl PartialEq<Quaternion> for Quaternion
[src]
fn eq(&self, other: &Quaternion) -> bool
[src]
fn ne(&self, other: &Quaternion) -> bool
[src]
impl Mul<Quaternion> for Quaternion
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl Mul<f32> for Quaternion
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, k: f32) -> Self
[src]
impl Mul<Quaternion> for f32
[src]
type Output = Quaternion
The resulting type after applying the *
operator.
fn mul(self, q: Quaternion) -> Quaternion
[src]
impl AddAssign<Quaternion> for Quaternion
[src]
fn add_assign(&mut self, rhs: Quaternion)
[src]
impl SubAssign<Quaternion> for Quaternion
[src]
fn sub_assign(&mut self, rhs: Quaternion)
[src]
impl MulAssign<f32> for Quaternion
[src]
fn mul_assign(&mut self, k: f32)
[src]
impl Copy for Quaternion
[src]
impl StructuralPartialEq for Quaternion
[src]
impl Clone for Quaternion
[src]
fn clone(&self) -> Quaternion
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self