Struct Drain
pub struct Drain<'a, T: 'a + Array> { /* private fields */ }
An iterator that removes the items from a SmallVec and yields them by
value.
Returned from SmallVec::drain.
Trait Implementations
impl<'a, T: 'a + Array> Debug for Drain<'a, T>
where
T::Item: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a, T: 'a + Array> DoubleEndedIterator for Drain<'a, T>
fn next_back(&mut self) -> Option<T::Item>
impl<'a, T: 'a + Array> Drop for Drain<'a, T>
fn drop(&mut self)
impl<'a, T: 'a + Array> Iterator for Drain<'a, T>
type Item = <T as Array>::Item;fn next(&mut self) -> Option<T::Item>fn size_hint(&self) -> (usize, Option<usize>)
impl<'a, T: Array> ExactSizeIterator for Drain<'a, T>
fn len(&self) -> usize