Struct rational_deduction::RatioPair[][src]

pub struct RatioPair<V> {
    pub top: V,
    pub bot: V,
}

Canonical Ratio Type

Fields

top: V

Top of the ratio

bot: V

Bottom of the ratio

Trait Implementations

impl<V: Clone> Clone for RatioPair<V>[src]

impl<V: Copy> Copy for RatioPair<V>[src]

impl<V: Debug> Debug for RatioPair<V>[src]

impl<V: Default> Default for RatioPair<V>[src]

impl<V: Eq> Eq for RatioPair<V>[src]

impl<V> From<(V, V)> for RatioPair<V>[src]

impl<V: Hash> Hash for RatioPair<V>[src]

impl<V: Ord> Ord for RatioPair<V>[src]

impl<V: PartialEq> PartialEq<RatioPair<V>> for RatioPair<V>[src]

impl<V: PartialOrd> PartialOrd<RatioPair<V>> for RatioPair<V>[src]

impl<V> Ratio<V> for RatioPair<V>[src]

impl<V> StructuralEq for RatioPair<V>[src]

impl<V> StructuralPartialEq for RatioPair<V>[src]

impl<E> TryFrom<Expr<E>> for RatioPair<E::Group> where
    E: Expression,
    E::Group: IntoIterator<Item = E>, 
[src]

type Error = RatioPairFromExprError

The type returned in the event of a conversion error.

fn try_from(expr: Expr<E>) -> Result<Self, Self::Error>[src]

Parse an Expr<E> into a RatioPair<E> if it has the correct shape.

Auto Trait Implementations

impl<V> Send for RatioPair<V> where
    V: Send

impl<V> Sync for RatioPair<V> where
    V: Sync

impl<V> Unpin for RatioPair<V> where
    V: Unpin

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> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

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.