Struct na::base::iter::MatrixIter[][src]

pub struct MatrixIter<'a, N, R, C, S> where
    C: Dim,
    N: Scalar,
    S: 'a + Storage<N, R, C>,
    R: Dim
{ /* fields omitted */ }

An iterator through a dense matrix with arbitrary strides matrix.

Implementations

impl<'a, N, R, C, S> MatrixIter<'a, N, R, C, S> where
    C: Dim,
    N: Scalar,
    S: 'a + Storage<N, R, C>,
    R: Dim
[src]

pub fn new(storage: &'a S) -> MatrixIter<'a, N, R, C, S>

Notable traits for MatrixIter<'a, N, R, C, S>

impl<'a, N, R, C, S> Iterator for MatrixIter<'a, N, R, C, S> where
    C: Dim,
    N: Scalar,
    S: 'a + Storage<N, R, C>,
    R: Dim
type Item = &'a N;
[src]

Creates a new iterator for the given matrix storage.

Trait Implementations

impl<'a, N, R, C, S> ExactSizeIterator for MatrixIter<'a, N, R, C, S> where
    C: Dim,
    N: Scalar,
    S: 'a + Storage<N, R, C>,
    R: Dim
[src]

impl<'a, N, R, C, S> Iterator for MatrixIter<'a, N, R, C, S> where
    C: Dim,
    N: Scalar,
    S: 'a + Storage<N, R, C>,
    R: Dim
[src]

type Item = &'a N

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, N, R, C, S> RefUnwindSafe for MatrixIter<'a, N, R, C, S> where
    C: RefUnwindSafe,
    N: RefUnwindSafe,
    R: RefUnwindSafe,
    S: RefUnwindSafe,
    <S as Storage<N, R, C>>::CStride: RefUnwindSafe,
    <S as Storage<N, R, C>>::RStride: RefUnwindSafe

impl<'a, N, R, C, S> !Send for MatrixIter<'a, N, R, C, S>

impl<'a, N, R, C, S> !Sync for MatrixIter<'a, N, R, C, S>

impl<'a, N, R, C, S> Unpin for MatrixIter<'a, N, R, C, S> where
    C: Unpin,
    R: Unpin,
    S: Unpin,
    <S as Storage<N, R, C>>::CStride: Unpin,
    <S as Storage<N, R, C>>::RStride: Unpin

impl<'a, N, R, C, S> UnwindSafe for MatrixIter<'a, N, R, C, S> where
    C: UnwindSafe,
    N: RefUnwindSafe,
    R: UnwindSafe,
    S: UnwindSafe,
    <S as Storage<N, R, C>>::CStride: UnwindSafe,
    <S as Storage<N, R, C>>::RStride: 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<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<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<I> IteratorRandom for I where
    I: Iterator
[src]

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

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]