Enum sprs::vec::NnzEither[][src]

pub enum NnzEither<'a, N1: 'a, N2: 'a> {
    Both((usize, &'a N1, &'a N2)),
    Left((usize, &'a N1)),
    Right((usize, &'a N2)),
}

Variants

Both((usize, &'a N1, &'a N2))
Left((usize, &'a N1))
Right((usize, &'a N2))

Trait Implementations

impl<'a, N1: Debug + 'a, N2: Debug + 'a> Debug for NnzEither<'a, N1, N2>[src]

impl<'a, N1: PartialEq + 'a, N2: PartialEq + 'a> PartialEq<NnzEither<'a, N1, N2>> for NnzEither<'a, N1, N2>[src]

impl<'a, N1: 'a, N2: 'a> StructuralPartialEq for NnzEither<'a, N1, N2>[src]

Auto Trait Implementations

impl<'a, N1, N2> RefUnwindSafe for NnzEither<'a, N1, N2> where
    N1: RefUnwindSafe,
    N2: RefUnwindSafe

impl<'a, N1, N2> Send for NnzEither<'a, N1, N2> where
    N1: Sync,
    N2: Sync

impl<'a, N1, N2> Sync for NnzEither<'a, N1, N2> where
    N1: Sync,
    N2: Sync

impl<'a, N1, N2> Unpin for NnzEither<'a, N1, N2>

impl<'a, N1, N2> UnwindSafe for NnzEither<'a, N1, N2> where
    N1: RefUnwindSafe,
    N2: RefUnwindSafe

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

type Init = T

The type for initializers.

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.