Struct FlatMap
struct FlatMap<I, U: IntoIterator, F> { ... }
An iterator that maps each element to an iterator, and yields the elements of the produced iterators.
This struct is created by Iterator::flat_map. See its documentation
for more.
Implementations
impl<I> IntoIterator for FlatMap<I, U, F>
fn into_iter(self: Self) -> I
impl<I, U, F> Freeze for FlatMap<I, U, F>
impl<I, U, F> FusedIterator for FlatMap<I, U, F>
impl<I, U, F> RefUnwindSafe for FlatMap<I, U, F>
impl<I, U, F> Send for FlatMap<I, U, F>
impl<I, U, F> Sync for FlatMap<I, U, F>
impl<I, U, F> TrustedLen for FlatMap<I, U, F>
impl<I, U, F> Unpin for FlatMap<I, U, F>
impl<I, U, F> UnsafeUnpin for FlatMap<I, U, F>
impl<I, U, F> UnwindSafe for FlatMap<I, U, F>
impl<I: Clone, U, F: Clone> Clone for FlatMap<I, U, F>
fn clone(self: &Self) -> Self
impl<I: DoubleEndedIterator, U, F> DoubleEndedIterator for FlatMap<I, U, F>
fn next_back(self: &mut Self) -> Option<<U as >::Item>fn try_rfold<Acc, Fold, R>(self: &mut Self, init: Acc, fold: Fold) -> R where Self: Sized, Fold: FnMut(Acc, <Self as >::Item) -> R, R: Try<Output = Acc>fn rfold<Acc, Fold>(self: Self, init: Acc, fold: Fold) -> Acc where Fold: FnMut(Acc, <Self as >::Item) -> Accfn advance_back_by(self: &mut Self, n: usize) -> Result<(), NonZero<usize>>
impl<I: Iterator, U: IntoIterator, F> Iterator for FlatMap<I, U, F>
fn next(self: &mut Self) -> Option<<U as >::Item>fn size_hint(self: &Self) -> (usize, Option<usize>)fn try_fold<Acc, Fold, R>(self: &mut Self, init: Acc, fold: Fold) -> R where Self: Sized, Fold: FnMut(Acc, <Self as >::Item) -> R, R: Try<Output = Acc>fn fold<Acc, Fold>(self: Self, init: Acc, fold: Fold) -> Acc where Fold: FnMut(Acc, <Self as >::Item) -> Accfn advance_by(self: &mut Self, n: usize) -> Result<(), NonZero<usize>>fn count(self: Self) -> usizefn last(self: Self) -> Option<<Self as >::Item>
impl<I: fmt::Debug, U, F> Debug for FlatMap<I, U, F>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T> Any for FlatMap<I, U, F>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for FlatMap<I, U, F>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for FlatMap<I, U, F>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for FlatMap<I, U, F>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for FlatMap<I, U, F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for FlatMap<I, U, F>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for FlatMap<I, U, F>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for FlatMap<I, U, F>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>