[][src]Struct tract_onnx::prelude::tract_ndarray::iter::Indices

pub struct Indices<D> where
    D: Dimension
{ /* fields omitted */ }

Indices producer and iterable.

Indices is an NdProducer that produces the indices of an array shape.

Trait Implementations

impl<D> Clone for Indices<D> where
    D: Clone + Dimension
[src]

impl<D> Copy for Indices<D> where
    D: Copy + Dimension
[src]

impl<D> Debug for Indices<D> where
    D: Debug + Dimension
[src]

impl<D> IntoIterator for Indices<D> where
    D: Dimension
[src]

type Item = <D as Dimension>::Pattern

The type of the elements being iterated over.

type IntoIter = IndicesIter<D>

Which kind of iterator are we turning this into?

impl<D> NdProducer for Indices<D> where
    D: Dimension + Copy
[src]

type Item = <D as Dimension>::Pattern

The element produced per iteration.

type Dim = D

Dimension type

type Ptr = IndexPtr<D>

type Stride = usize

Auto Trait Implementations

impl<D> RefUnwindSafe for Indices<D> where
    D: RefUnwindSafe

impl<D> Send for Indices<D>

impl<D> Sync for Indices<D>

impl<D> Unpin for Indices<D> where
    D: Unpin

impl<D> UnwindSafe for Indices<D> where
    D: 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> Downcast for T where
    T: Any

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

impl<T> DynClone for T where
    T: Clone
[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<P> IntoNdProducer for P where
    P: NdProducer
[src]

type Item = <P as NdProducer>::Item

The element produced per iteration.

type Dim = <P as NdProducer>::Dim

Dimension type of the producer

type Output = P

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.