Struct FlattenIter
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct FlattenIter<I> { /* private fields */ }
FlattenIter turns each element to a serial iterator, then flattens these iterators
together. This struct is created by the flatten_iter() method on ParallelIterator.
Trait Implementations
impl<I> ParallelIterator for FlattenIter<I>
where
I: ParallelIterator<Item: IntoIterator<Item: Send>>,
type Item = <<I as ParallelIterator>::Item as IntoIterator>::Item;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,
impl<I: Clone> Clone for FlattenIter<I>
fn clone(&self) -> FlattenIter<I>
impl<I: Debug> Debug for FlattenIter<I>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl<I> Freeze for FlattenIter<I>
where
I: Freeze,
impl<I> RefUnwindSafe for FlattenIter<I>
where
I: RefUnwindSafe,
impl<I> Send for FlattenIter<I>
where
I: Send,
impl<I> Sync for FlattenIter<I>
where
I: Sync,
impl<I> Unpin for FlattenIter<I>
where
I: Unpin,
impl<I> UnsafeUnpin for FlattenIter<I>
where
I: UnsafeUnpin,
impl<I> UnwindSafe for FlattenIter<I>
where
I: UnwindSafe,
Blanket Implementations
impl<T> Any for FlattenIter<I>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for FlattenIter<I>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for FlattenIter<I>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for FlattenIter<I>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for FlattenIter<I>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for FlattenIter<I>
impl<T> IntoParallelIterator for FlattenIter<I>
where
T: ParallelIterator,
type Iter = T;type Item = <T as ParallelIterator>::Item;fn into_par_iter(self) -> T
impl<T> Pointable for FlattenIter<I>
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToOwned for FlattenIter<I>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for FlattenIter<I>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for FlattenIter<I>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for FlattenIter<I>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>