[−][src]Struct shigens::R
Implementations
impl<T> R<T> where
T: Zero + PartialOrd,
[src]
T: Zero + PartialOrd,
impl<T> R<T>
[src]
Trait Implementations
impl<T> Add<I<T>> for R<T> where
T: Zero,
[src]
T: Zero,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: I<T>) -> Self::Output
[src]
impl<T> Add<J<T>> for R<T> where
T: Zero,
[src]
T: Zero,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: J<T>) -> Self::Output
[src]
impl<T> Add<K<T>> for R<T> where
T: Zero,
[src]
T: Zero,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: K<T>) -> Self::Output
[src]
impl<T> Add<Quaternion<T>> for R<T> where
T: Add<Output = T>,
[src]
T: Add<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: Quaternion<T>) -> Self::Output
[src]
impl<LT, RT> Add<R<RT>> for R<LT> where
LT: Add<RT>,
[src]
LT: Add<RT>,
type Output = R<LT::Output>
The resulting type after applying the +
operator.
fn add(self, rhs: R<RT>) -> Self::Output
[src]
impl<T> Add<R<T>> for I<T> where
T: Zero,
[src]
T: Zero,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: R<T>) -> Self::Output
[src]
impl<T> Add<R<T>> for J<T> where
T: Zero,
[src]
T: Zero,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: R<T>) -> Self::Output
[src]
impl<T> Add<R<T>> for K<T> where
T: Zero,
[src]
T: Zero,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: R<T>) -> Self::Output
[src]
impl<T> Add<R<T>> for Quaternion<T> where
T: Add<Output = T>,
[src]
T: Add<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the +
operator.
fn add(self, rhs: R<T>) -> Self::Output
[src]
impl<T: Clone> Clone for R<T>
[src]
impl<T: Copy> Copy for R<T>
[src]
impl<T: Debug> Debug for R<T>
[src]
impl<T: Display> Display for R<T>
[src]
impl<LT, RT> Div<I<RT>> for R<LT> where
LT: Div<RT>,
LT::Output: Neg,
[src]
LT: Div<RT>,
LT::Output: Neg,
type Output = I<<LT::Output as Neg>::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: I<RT>) -> Self::Output
[src]
impl<LT, RT> Div<J<RT>> for R<LT> where
LT: Div<RT>,
LT::Output: Neg,
[src]
LT: Div<RT>,
LT::Output: Neg,
type Output = J<<LT::Output as Neg>::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: J<RT>) -> Self::Output
[src]
impl<LT, RT> Div<K<RT>> for R<LT> where
LT: Div<RT>,
LT::Output: Neg,
[src]
LT: Div<RT>,
LT::Output: Neg,
type Output = K<<LT::Output as Neg>::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: K<RT>) -> Self::Output
[src]
impl<T> Div<Quaternion<T>> for R<T> where
T: Copy + Add<Output = T> + Mul<Output = T> + Div<Output = T> + Neg<Output = T>,
[src]
T: Copy + Add<Output = T> + Mul<Output = T> + Div<Output = T> + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the /
operator.
fn div(self, rhs: Quaternion<T>) -> Self::Output
[src]
impl<LT, RT> Div<R<RT>> for R<LT> where
LT: Div<RT>,
[src]
LT: Div<RT>,
type Output = R<LT::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: R<RT>) -> Self::Output
[src]
impl<LT, RT> Div<R<RT>> for I<LT> where
LT: Div<RT>,
[src]
LT: Div<RT>,
type Output = I<LT::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: R<RT>) -> Self::Output
[src]
impl<LT, RT> Div<R<RT>> for J<LT> where
LT: Div<RT>,
[src]
LT: Div<RT>,
type Output = J<LT::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: R<RT>) -> Self::Output
[src]
impl<LT, RT> Div<R<RT>> for K<LT> where
LT: Div<RT>,
[src]
LT: Div<RT>,
type Output = K<LT::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: R<RT>) -> Self::Output
[src]
impl<T> Div<R<T>> for Quaternion<T> where
T: Copy + Div,
[src]
T: Copy + Div,
type Output = Quaternion<T::Output>
The resulting type after applying the /
operator.
fn div(self, rhs: R<T>) -> Self::Output
[src]
impl<T> From<T> for R<T>
[src]
impl<LT, RT> Mul<I<RT>> for R<LT> where
LT: Mul<RT>,
[src]
LT: Mul<RT>,
type Output = I<LT::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: I<RT>) -> Self::Output
[src]
impl<LT, RT> Mul<J<RT>> for R<LT> where
LT: Mul<RT>,
[src]
LT: Mul<RT>,
type Output = J<LT::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: J<RT>) -> Self::Output
[src]
impl<LT, RT> Mul<K<RT>> for R<LT> where
LT: Mul<RT>,
[src]
LT: Mul<RT>,
type Output = K<LT::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: K<RT>) -> Self::Output
[src]
impl<T> Mul<Quaternion<T>> for R<T> where
T: Copy + Mul,
[src]
T: Copy + Mul,
type Output = Quaternion<T::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: Quaternion<T>) -> Self::Output
[src]
impl<LT, RT> Mul<R<RT>> for R<LT> where
LT: Mul<RT>,
[src]
LT: Mul<RT>,
type Output = R<LT::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: R<RT>) -> Self::Output
[src]
impl<LT, RT> Mul<R<RT>> for I<LT> where
LT: Mul<RT>,
[src]
LT: Mul<RT>,
type Output = I<LT::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: R<RT>) -> Self::Output
[src]
impl<LT, RT> Mul<R<RT>> for J<LT> where
LT: Mul<RT>,
[src]
LT: Mul<RT>,
type Output = J<LT::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: R<RT>) -> Self::Output
[src]
impl<LT, RT> Mul<R<RT>> for K<LT> where
LT: Mul<RT>,
[src]
LT: Mul<RT>,
type Output = K<LT::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: R<RT>) -> Self::Output
[src]
impl<T> Mul<R<T>> for Quaternion<T> where
T: Copy + Mul,
[src]
T: Copy + Mul,
type Output = Quaternion<T::Output>
The resulting type after applying the *
operator.
fn mul(self, rhs: R<T>) -> Self::Output
[src]
impl<T: Neg> Neg for R<T>
[src]
type Output = R<T::Output>
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl<T> One for R<T> where
T: One,
[src]
T: One,
impl<T: PartialEq> PartialEq<R<T>> for R<T>
[src]
impl<T: PartialOrd> PartialOrd<R<T>> for R<T>
[src]
fn partial_cmp(&self, other: &R<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &R<T>) -> bool
[src]
fn le(&self, other: &R<T>) -> bool
[src]
fn gt(&self, other: &R<T>) -> bool
[src]
fn ge(&self, other: &R<T>) -> bool
[src]
impl<T> StructuralPartialEq for R<T>
[src]
impl<T> Sub<I<T>> for R<T> where
T: Zero + Neg<Output = T>,
[src]
T: Zero + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: I<T>) -> Self::Output
[src]
impl<T> Sub<J<T>> for R<T> where
T: Zero + Neg<Output = T>,
[src]
T: Zero + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: J<T>) -> Self::Output
[src]
impl<T> Sub<K<T>> for R<T> where
T: Zero + Neg<Output = T>,
[src]
T: Zero + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: K<T>) -> Self::Output
[src]
impl<T> Sub<Quaternion<T>> for R<T> where
T: Sub<Output = T> + Neg<Output = T>,
[src]
T: Sub<Output = T> + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: Quaternion<T>) -> Self::Output
[src]
impl<LT, RT> Sub<R<RT>> for R<LT> where
LT: Sub<RT>,
[src]
LT: Sub<RT>,
type Output = R<LT::Output>
The resulting type after applying the -
operator.
fn sub(self, rhs: R<RT>) -> Self::Output
[src]
impl<T> Sub<R<T>> for I<T> where
T: Zero + Neg<Output = T>,
[src]
T: Zero + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: R<T>) -> Self::Output
[src]
impl<T> Sub<R<T>> for J<T> where
T: Zero + Neg<Output = T>,
[src]
T: Zero + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: R<T>) -> Self::Output
[src]
impl<T> Sub<R<T>> for K<T> where
T: Zero + Neg<Output = T>,
[src]
T: Zero + Neg<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: R<T>) -> Self::Output
[src]
impl<T> Sub<R<T>> for Quaternion<T> where
T: Sub<Output = T>,
[src]
T: Sub<Output = T>,
type Output = Quaternion<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: R<T>) -> Self::Output
[src]
impl<T> Zero for R<T> where
T: Zero,
[src]
T: Zero,
Auto Trait Implementations
impl<T> RefUnwindSafe for R<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for R<T> where
T: Send,
T: Send,
impl<T> Sync for R<T> where
T: Sync,
T: Sync,
impl<T> Unpin for R<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for R<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,