Struct hashbrown::raw::RawDrain[][src]

pub struct RawDrain<'a, T, A: Allocator + Clone = Global> { /* fields omitted */ }

Iterator which consumes elements without freeing the table storage.

Implementations

impl<T, A: Allocator + Clone> RawDrain<'_, T, A>[src]

pub fn iter(&self) -> RawIter<T>

Notable traits for RawIter<T>

impl<T> Iterator for RawIter<T> type Item = Bucket<T>;
[src]

Trait Implementations

impl<T, A: Allocator + Clone> Drop for RawDrain<'_, T, A>[src]

impl<T, A: Allocator + Clone> ExactSizeIterator for RawDrain<'_, T, A>[src]

impl<T, A: Allocator + Clone> FusedIterator for RawDrain<'_, T, A>[src]

impl<T, A: Allocator + Clone> Iterator for RawDrain<'_, T, A>[src]

type Item = T

The type of the elements being iterated over.

impl<T, A: Allocator + Copy> Send for RawDrain<'_, T, A> where
    T: Send
[src]

impl<T, A: Allocator + Copy> Sync for RawDrain<'_, T, A> where
    T: Sync
[src]

Auto Trait Implementations

impl<'a, T, A> RefUnwindSafe for RawDrain<'a, T, A> where
    A: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, A> Unpin for RawDrain<'a, T, A> where
    A: Unpin,
    T: Unpin

impl<'a, T, A> UnwindSafe for RawDrain<'a, T, A> where
    A: RefUnwindSafe + UnwindSafe,
    T: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.