Struct std::collections::hash_set::IntoIter

pub struct IntoIter<K> { /* fields omitted */ }

An owning iterator over the items of a HashSet.

This struct is created by the into_iter method on HashSet (provided by the IntoIterator trait). See its documentation for more.

Trait Implementations

impl<K: Debug> Debug for IntoIter<K>[src]1.16.0

impl<K> ExactSizeIterator for IntoIter<K>[src]

impl<K> FusedIterator for IntoIter<K>[src]1.26.0

impl<K> Iterator for IntoIter<K>[src]

type Item = K

The type of the elements being iterated over.

Auto Trait Implementations

impl<K> RefUnwindSafe for IntoIter<K> where
    K: RefUnwindSafe

impl<K> Send for IntoIter<K> where
    K: Send

impl<K> Sync for IntoIter<K> where
    K: Sync

impl<K> Unpin for IntoIter<K> where
    K: Unpin

impl<K> UnwindSafe for IntoIter<K> where
    K: RefUnwindSafe + UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<I> IntoIterator for I where
    I: Iterator

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, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.