Struct Drain
struct Drain<'a, T: 'a, CAP: usize> { ... }
A draining iterator for ArrayVec.
Implementations
impl<'a, T, CAP: usize> Freeze for Drain<'a, T, CAP>
impl<'a, T, CAP: usize> RefUnwindSafe for Drain<'a, T, CAP>
impl<'a, T, CAP: usize> Unpin for Drain<'a, T, CAP>
impl<'a, T, CAP: usize> UnsafeUnpin for Drain<'a, T, CAP>
impl<'a, T, CAP: usize> UnwindSafe for Drain<'a, T, CAP>
impl<'a, T: 'a, CAP: usize> DoubleEndedIterator for Drain<'a, T, CAP>
fn next_back(self: &mut Self) -> Option<<Self as >::Item>
impl<'a, T: 'a, CAP: usize> Drop for Drain<'a, T, CAP>
fn drop(self: &mut Self)
impl<'a, T: 'a, CAP: usize> ExactSizeIterator for Drain<'a, T, CAP>
impl<'a, T: 'a, CAP: usize> Iterator for Drain<'a, T, CAP>
fn next(self: &mut Self) -> Option<<Self as >::Item>fn size_hint(self: &Self) -> (usize, Option<usize>)
impl<'a, T: Send, CAP: usize> Send for Drain<'a, T, CAP>
impl<'a, T: Sync, CAP: usize> Sync for Drain<'a, T, CAP>
impl<I> IntoIterator for Drain<'a, T, CAP>
fn into_iter(self: Self) -> I
impl<T> Any for Drain<'a, T, CAP>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Drain<'a, T, CAP>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Drain<'a, T, CAP>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Drain<'a, T, CAP>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for Drain<'a, T, CAP>
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 Drain<'a, T, CAP>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Drain<'a, T, CAP>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>