Struct IntoIter

struct IntoIter<A> { ... }

An iterator over the value in Some variant of an Option.

The iterator yields one value if the Option is a Some, otherwise none.

This struct is created by the Option::into_iter function.

Implementations

impl<A> DoubleEndedIterator for IntoIter<A>

fn next_back(self: &mut Self) -> Option<A>

impl<A> ExactSizeIterator for IntoIter<A>

impl<A> Freeze for IntoIter<A>

impl<A> FusedIterator for IntoIter<A>

impl<A> Iterator for IntoIter<A>

fn next(self: &mut Self) -> Option<A>
fn size_hint(self: &Self) -> (usize, Option<usize>)

impl<A> RefUnwindSafe for IntoIter<A>

impl<A> Send for IntoIter<A>

impl<A> Sync for IntoIter<A>

impl<A> TrustedLen for IntoIter<A>

impl<A> Unpin for IntoIter<A>

impl<A> UnwindSafe for IntoIter<A>

impl<A: $crate::clone::Clone> Clone for IntoIter<A>

fn clone(self: &Self) -> IntoIter<A>

impl<A: $crate::fmt::Debug> Debug for IntoIter<A>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<I> IntoIterator for IntoIter<A>

fn into_iter(self: Self) -> I

impl<T> Any for IntoIter<A>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoIter<A>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IntoIter<A>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for IntoIter<A>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for IntoIter<A>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for IntoIter<A>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IntoIter<A>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IntoIter<A>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>