pub trait Items: IntoParallelIterator<Iter = Self::ParIter> + IntoIterator<Item = Self::Elem> {
    type Elem: Send + Sync;
    type ParIter: ParallelIterator<Item = Self::Elem> + IndexedParallelIterator;

    // Required method
    fn len(&self) -> usize;
}
Expand description

This is considered as a private type and it’s NOT A PUBLIC API.

Required Associated Types§

type Elem: Send + Sync

type ParIter: ParallelIterator<Item = Self::Elem> + IndexedParallelIterator

Required Methods§

fn len(&self) -> usize

Implementations on Foreign Types§

§

impl<'a, T> Items for &'a [T]
where T: Send + Sync,

§

type Elem = &'a T

§

type ParIter = Iter<'a, T>

§

fn len(&self) -> usize

§

impl<'a, T> Items for &'a mut [T]
where T: Send + Sync,

§

type Elem = &'a mut T

§

type ParIter = IterMut<'a, T>

§

fn len(&self) -> usize

§

impl<'a, T> Items for &'a mut Vec<T>
where T: Send + Sync,

§

type Elem = &'a mut T

§

type ParIter = IterMut<'a, T>

§

fn len(&self) -> usize

§

impl<T> Items for Vec<T>
where T: Send + Sync,

§

type Elem = T

§

type ParIter = IntoIter<T>

§

fn len(&self) -> usize

Implementors§