[][src]Struct shigens::J

pub struct J<T>(_);

Implementations

impl<T> J<T> where
    T: Zero + PartialOrd
[src]

pub fn is_neg(&self) -> bool[src]

impl<T> J<T>[src]

pub fn get_value(self) -> T[src]

Trait Implementations

impl<T> Add<I<T>> for J<T> where
    T: Zero
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<LT, RT> Add<J<RT>> for J<LT> where
    LT: Add<RT>, 
[src]

type Output = J<LT::Output>

The resulting type after applying the + operator.

impl<T> Add<J<T>> for R<T> where
    T: Zero
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<T> Add<J<T>> for I<T> where
    T: Zero
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<T> Add<J<T>> for K<T> where
    T: Zero
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<T> Add<J<T>> for Quaternion<T> where
    T: Add<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<T> Add<K<T>> for J<T> where
    T: Zero
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<T> Add<Quaternion<T>> for J<T> where
    T: Add<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<T> Add<R<T>> for J<T> where
    T: Zero
[src]

type Output = Quaternion<T>

The resulting type after applying the + operator.

impl<T: Clone> Clone for J<T>[src]

impl<T: Copy> Copy for J<T>[src]

impl<T: Debug> Debug for J<T>[src]

impl<T: Display> Display for J<T>[src]

impl<LT, RT> Div<I<RT>> for J<LT> where
    LT: Div<RT>, 
[src]

type Output = K<LT::Output>

The resulting type after applying the / operator.

impl<LT, RT> Div<J<RT>> for R<LT> where
    LT: Div<RT>,
    LT::Output: Neg
[src]

type Output = J<<LT::Output as Neg>::Output>

The resulting type after applying the / operator.

impl<LT, RT> Div<J<RT>> for J<LT> where
    LT: Div<RT>, 
[src]

type Output = R<LT::Output>

The resulting type after applying the / operator.

impl<LT, RT> Div<J<RT>> for I<LT> where
    LT: Div<RT>,
    LT::Output: Neg
[src]

type Output = K<<LT::Output as Neg>::Output>

The resulting type after applying the / operator.

impl<LT, RT> Div<J<RT>> for K<LT> where
    LT: Div<RT>, 
[src]

type Output = I<LT::Output>

The resulting type after applying the / operator.

impl<T> Div<J<T>> for Quaternion<T> where
    T: Copy + Div<Output = T> + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the / operator.

impl<LT, RT> Div<K<RT>> for J<LT> where
    LT: Div<RT>,
    LT::Output: Neg
[src]

type Output = I<<LT::Output as Neg>::Output>

The resulting type after applying the / operator.

impl<T> Div<Quaternion<T>> for J<T> where
    T: Copy + Add<Output = T> + Mul<Output = T> + Div<Output = T> + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the / operator.

impl<LT, RT> Div<R<RT>> for J<LT> where
    LT: Div<RT>, 
[src]

type Output = J<LT::Output>

The resulting type after applying the / operator.

impl<T> From<T> for J<T>[src]

impl<LT, RT> Mul<I<RT>> for J<LT> where
    LT: Mul<RT>,
    LT::Output: Neg
[src]

type Output = K<<LT::Output as Neg>::Output>

The resulting type after applying the * operator.

impl<LT, RT> Mul<J<RT>> for R<LT> where
    LT: Mul<RT>, 
[src]

type Output = J<LT::Output>

The resulting type after applying the * operator.

impl<LT, RT> Mul<J<RT>> for J<LT> where
    LT: Mul<RT>,
    LT::Output: Neg
[src]

type Output = R<<LT::Output as Neg>::Output>

The resulting type after applying the * operator.

impl<LT, RT> Mul<J<RT>> for I<LT> where
    LT: Mul<RT>, 
[src]

type Output = K<LT::Output>

The resulting type after applying the * operator.

impl<LT, RT> Mul<J<RT>> for K<LT> where
    LT: Mul<RT>,
    LT::Output: Neg
[src]

type Output = I<<LT::Output as Neg>::Output>

The resulting type after applying the * operator.

impl<T> Mul<J<T>> for Quaternion<T> where
    T: Copy + Mul<Output = T> + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the * operator.

impl<LT, RT> Mul<K<RT>> for J<LT> where
    LT: Mul<RT>, 
[src]

type Output = I<LT::Output>

The resulting type after applying the * operator.

impl<T> Mul<Quaternion<T>> for J<T> where
    T: Copy + Mul<Output = T> + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the * operator.

impl<LT, RT> Mul<R<RT>> for J<LT> where
    LT: Mul<RT>, 
[src]

type Output = J<LT::Output>

The resulting type after applying the * operator.

impl<T: Neg> Neg for J<T>[src]

type Output = J<T::Output>

The resulting type after applying the - operator.

impl<T: PartialEq> PartialEq<J<T>> for J<T>[src]

impl<T: PartialOrd> PartialOrd<J<T>> for J<T>[src]

impl<T> StructuralPartialEq for J<T>[src]

impl<T> Sub<I<T>> for J<T> where
    T: Zero + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<LT, RT> Sub<J<RT>> for J<LT> where
    LT: Sub<RT>, 
[src]

type Output = J<LT::Output>

The resulting type after applying the - operator.

impl<T> Sub<J<T>> for R<T> where
    T: Zero + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<T> Sub<J<T>> for I<T> where
    T: Zero + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<T> Sub<J<T>> for K<T> where
    T: Zero + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<T> Sub<J<T>> for Quaternion<T> where
    T: Sub<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<T> Sub<K<T>> for J<T> where
    T: Zero + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<T> Sub<Quaternion<T>> for J<T> where
    T: Sub<Output = T> + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<T> Sub<R<T>> for J<T> where
    T: Zero + Neg<Output = T>, 
[src]

type Output = Quaternion<T>

The resulting type after applying the - operator.

impl<T> Zero for J<T> where
    T: Zero
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for J<T> where
    T: RefUnwindSafe

impl<T> Send for J<T> where
    T: Send

impl<T> Sync for J<T> where
    T: Sync

impl<T> Unpin for J<T> where
    T: Unpin

impl<T> UnwindSafe for J<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.