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

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

An iterator through a dense matrix with arbitrary strides matrix.

Implementations

impl<'a, N: Scalar, R: Dim, C: Dim, S: 'a + Storage<N, R, C>> MatrixIter<'a, N, R, C, S>[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: Scalar, R: Dim, C: Dim, S: 'a + Storage<N, R, C>> Iterator for MatrixIter<'a, N, R, C, S> type Item = &'a N;
[src]

Creates a new iterator for the given matrix storage.

Trait Implementations

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

impl<'a, N: Scalar, R: Dim, C: Dim, S: 'a + Storage<N, R, C>> Iterator for MatrixIter<'a, N, R, C, S>[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
[src]

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

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

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
[src]

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
[src]

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<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>,