Struct sprs::vec::NnzOrZip[][src]

pub struct NnzOrZip<'a, Ite1, Ite2, N1: 'a, N2: 'a> where
    Ite1: Iterator<Item = (usize, &'a N1)>,
    Ite2: Iterator<Item = (usize, &'a N2)>, 
{ /* fields omitted */ }

An iterator over the non zeros of either of two vector iterators, ordered, such that the sum of the vectors may be computed

Trait Implementations

impl<'a, Ite1, Ite2, N1: 'a, N2: 'a> Iterator for NnzOrZip<'a, Ite1, Ite2, N1, N2> where
    Ite1: Iterator<Item = (usize, &'a N1)>,
    Ite2: Iterator<Item = (usize, &'a N2)>, 
[src]

type Item = NnzEither<'a, N1, N2>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, Ite1, Ite2, N1, N2> RefUnwindSafe for NnzOrZip<'a, Ite1, Ite2, N1, N2> where
    Ite1: RefUnwindSafe,
    Ite2: RefUnwindSafe,
    N1: RefUnwindSafe,
    N2: RefUnwindSafe

impl<'a, Ite1, Ite2, N1, N2> Send for NnzOrZip<'a, Ite1, Ite2, N1, N2> where
    Ite1: Send,
    Ite2: Send,
    N1: Sync,
    N2: Sync

impl<'a, Ite1, Ite2, N1, N2> Sync for NnzOrZip<'a, Ite1, Ite2, N1, N2> where
    Ite1: Sync,
    Ite2: Sync,
    N1: Sync,
    N2: Sync

impl<'a, Ite1, Ite2, N1, N2> Unpin for NnzOrZip<'a, Ite1, Ite2, N1, N2> where
    Ite1: Unpin,
    Ite2: Unpin

impl<'a, Ite1, Ite2, N1, N2> UnwindSafe for NnzOrZip<'a, Ite1, Ite2, N1, N2> where
    Ite1: UnwindSafe,
    Ite2: UnwindSafe,
    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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.