Struct IntoIter
pub struct IntoIter<T, const CAP: usize> { /* private fields */ }
By-value iterator for ArrayVec.
Implementations
impl<T, const CAP: usize> IntoIter<T, CAP>
fn as_slice(&self) -> &[T]Returns the remaining items of this iterator as a slice.
fn as_mut_slice(&mut self) -> &mut [T]Returns the remaining items of this iterator as a mutable slice.
Trait Implementations
impl<T, const CAP: usize> Clone for IntoIter<T, CAP>
where
T: Clone,
fn clone(&self) -> IntoIter<T, CAP>
impl<T, const CAP: usize> Debug for IntoIter<T, CAP>
where
T: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T, const CAP: usize> DoubleEndedIterator for IntoIter<T, CAP>
fn next_back(&mut self) -> Option<Self::Item>
impl<T, const CAP: usize> Drop for IntoIter<T, CAP>
fn drop(&mut self)
impl<T, const CAP: usize> ExactSizeIterator for IntoIter<T, CAP>
impl<T, const CAP: usize> Iterator for IntoIter<T, CAP>
type Item = T;fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)
Auto Trait Implementations
impl<T, const CAP: usize> Freeze for IntoIter<T, CAP>
where
ArrayVec<T, CAP>: Freeze,
impl<T, const CAP: usize> RefUnwindSafe for IntoIter<T, CAP>
where
ArrayVec<T, CAP>: RefUnwindSafe,
impl<T, const CAP: usize> Send for IntoIter<T, CAP>
where
ArrayVec<T, CAP>: Send,
impl<T, const CAP: usize> Sync for IntoIter<T, CAP>
where
ArrayVec<T, CAP>: Sync,
impl<T, const CAP: usize> Unpin for IntoIter<T, CAP>
where
ArrayVec<T, CAP>: Unpin,
impl<T, const CAP: usize> UnsafeUnpin for IntoIter<T, CAP>
where
ArrayVec<T, CAP>: UnsafeUnpin,
impl<T, const CAP: usize> UnwindSafe for IntoIter<T, CAP>
where
ArrayVec<T, CAP>: UnwindSafe,
Blanket Implementations
impl<I> IntoIterator for IntoIter<T, CAP>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for IntoIter<T, CAP>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for IntoIter<T, CAP>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for IntoIter<T, CAP>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for IntoIter<T, CAP>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for IntoIter<T, CAP>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for IntoIter<T, CAP>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for IntoIter<T, CAP>
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 IntoIter<T, CAP>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for IntoIter<T, CAP>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>