Struct nom::lib::std::collections::hash_set::IntoIter1.0.0[][src]

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.

Examples

use std::collections::HashSet;

let a: HashSet<u32> = vec![1, 2, 3].into_iter().collect();

let mut iter = a.into_iter();

Trait Implementations

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

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

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

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
[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, 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.