Struct IntersperseWith
struct IntersperseWith<I, G> { ... }
where
I: Iterator
An iterator adapter that places a separator between all elements.
This struct is created by Iterator::intersperse_with. See its
documentation for more information.
Implementations
impl<I> IntoIterator for IntersperseWith<I, G>
fn into_iter(self: Self) -> I
impl<I, G> Clone for IntersperseWith<I, G>
fn clone(self: &Self) -> Self
impl<I, G> Debug for IntersperseWith<I, G>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<I, G> Freeze for IntersperseWith<I, G>
impl<I, G> FusedIterator for IntersperseWith<I, G>
impl<I, G> Iterator for IntersperseWith<I, G>
fn next(self: &mut Self) -> Option<<Self as >::Item>fn size_hint(self: &Self) -> (usize, Option<usize>)fn fold<B, F>(self: Self, init: B, f: F) -> B where Self: Sized, F: FnMut(B, <Self as >::Item) -> B
impl<I, G> RefUnwindSafe for IntersperseWith<I, G>
impl<I, G> Send for IntersperseWith<I, G>
impl<I, G> Sync for IntersperseWith<I, G>
impl<I, G> Unpin for IntersperseWith<I, G>
impl<I, G> UnsafeUnpin for IntersperseWith<I, G>
impl<I, G> UnwindSafe for IntersperseWith<I, G>
impl<T> Any for IntersperseWith<I, G>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for IntersperseWith<I, G>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for IntersperseWith<I, G>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for IntersperseWith<I, G>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for IntersperseWith<I, G>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for IntersperseWith<I, G>
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 IntersperseWith<I, G>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for IntersperseWith<I, G>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>