Enum matrixcompare::MatrixComparisonFailure[][src]

pub enum MatrixComparisonFailure<T, Error> {
    MismatchedDimensions(DimensionMismatch),
    MismatchedElements(ElementsMismatch<T, Error>),
    SparseEntryOutOfBounds(Entry),
    DuplicateSparseEntry(Entry),
}

The error type associated with matrix comparison.

Variants

MismatchedDimensions(DimensionMismatch)
MismatchedElements(ElementsMismatch<T, Error>)
SparseEntryOutOfBounds(Entry)
DuplicateSparseEntry(Entry)

Trait Implementations

impl<T: Clone, Error: Clone> Clone for MatrixComparisonFailure<T, Error>[src]

impl<T: Debug, Error: Debug> Debug for MatrixComparisonFailure<T, Error>[src]

impl<T, Error> Display for MatrixComparisonFailure<T, Error> where
    T: Display,
    Error: Display
[src]

impl<T, E> Error for MatrixComparisonFailure<T, E> where
    T: Debug + Display,
    E: Debug + Display
[src]

impl<T: PartialEq, Error: PartialEq> PartialEq<MatrixComparisonFailure<T, Error>> for MatrixComparisonFailure<T, Error>[src]

impl<T, Error> StructuralPartialEq for MatrixComparisonFailure<T, Error>[src]

Auto Trait Implementations

impl<T, Error> RefUnwindSafe for MatrixComparisonFailure<T, Error> where
    Error: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, Error> Send for MatrixComparisonFailure<T, Error> where
    Error: Send,
    T: Send

impl<T, Error> Sync for MatrixComparisonFailure<T, Error> where
    Error: Sync,
    T: Sync

impl<T, Error> Unpin for MatrixComparisonFailure<T, Error> where
    Error: Unpin,
    T: Unpin

impl<T, Error> UnwindSafe for MatrixComparisonFailure<T, Error> where
    Error: UnwindSafe,
    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<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.