Struct rin::math::base::iter::MatrixIter[][src]

pub struct MatrixIter<'a, N, R, C, S> where
    C: Dim,
    N: Scalar,
    R: Dim,
    S: 'a + Storage<N, R, C>, 
{ /* 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,
    R: Dim,
    S: 'a + Storage<N, R, C>, 
[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,
    R: Dim,
    S: 'a + Storage<N, R, C>, 
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,
    R: Dim,
    S: 'a + Storage<N, R, C>, 
[src]

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, 'e, S, I> IntoEntitiesIterator<'a, S> for I where
    I: IntoIterator<Item = &'e Entity>,
    S: StorageRef<'a> + 'a, 
[src]

type IntoEntitiesIter = EntitiesComponentIter<'a, Copied<<I as IntoIterator>::IntoIter>, S>

type IntoEntitiesIterMut = EntitiesComponentIterMut<'a, Copied<<I as IntoIterator>::IntoIter>, S>

type IntoEntitiesOptIter = EntitiesComponentOptIter<'a, Copied<<I as IntoIterator>::IntoIter>, S>

type IntoEntitiesOptIterMut = EntitiesComponentOptIterMut<'a, Copied<<I as IntoIterator>::IntoIter>, S>

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<I> IntoUniqueIterator for I where
    I: Iterator
[src]

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

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

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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