[−][src]Struct tract_tensorflow::prelude::tract_ndarray::iter::Indices
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]
D: Clone + Dimension,
impl<D> Copy for Indices<D> where
D: Copy + Dimension,
[src]
D: Copy + Dimension,
impl<D> Debug for Indices<D> where
D: Debug + Dimension,
[src]
D: Debug + Dimension,
impl<D> IntoIterator for Indices<D> where
D: Dimension,
[src]
D: Dimension,
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?
pub fn into_iter(self) -> <Indices<D> as IntoIterator>::IntoIter
[src]
impl<D> NdProducer for Indices<D> where
D: Dimension + Copy,
[src]
D: Dimension + Copy,
type Item = <D as Dimension>::Pattern
The element produced per iteration.
type Dim = D
Dimension type
type Ptr = IndexPtr<D>
type Stride = usize
pub fn contiguous_stride(&self) -> <Indices<D> as NdProducer>::Stride
[src]
pub fn __private__(&self) -> PrivateMarker
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for Indices<D> where
D: RefUnwindSafe,
[src]
D: RefUnwindSafe,
impl<D> Send for Indices<D>
[src]
impl<D> Sync for Indices<D>
[src]
impl<D> Unpin for Indices<D> where
D: Unpin,
[src]
D: Unpin,
impl<D> UnwindSafe for Indices<D> where
D: UnwindSafe,
[src]
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘNotable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<F, A> Future for Box<F, A> where
F: Unpin + Future + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
Notable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<F, A> Future for Box<F, A> where
F: Unpin + Future + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<P> IntoNdProducer for P where
P: NdProducer,
[src]
P: NdProducer,
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
pub fn into_producer(self) -> <P as IntoNdProducer>::Output
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,