[][src]Struct streaming_algorithms::TopIter

pub struct TopIter<'a, A: Hash + Eq + Clone + 'a, C: Ord + 'a> { /* fields omitted */ }

An iterator over the entries and counts in a Top datastructure.

This struct is created by the iter method on Top. See its documentation for more.

Trait Implementations

impl<'a, A: Hash + Eq + Clone, C: Ord + 'a> Clone for TopIter<'a, A, C>[src]

impl<'a, A: Hash + Eq + Clone + Debug, C: Ord + Debug + 'a> Debug for TopIter<'a, A, C>[src]

impl<'a, A: Hash + Eq + Clone, C: Ord + 'a> Iterator for TopIter<'a, A, C>[src]

type Item = (&'a A, &'a C)

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, A, C> RefUnwindSafe for TopIter<'a, A, C> where
    A: RefUnwindSafe,
    C: RefUnwindSafe

impl<'a, A, C> Send for TopIter<'a, A, C> where
    A: Sync,
    C: Sync

impl<'a, A, C> Sync for TopIter<'a, A, C> where
    A: Sync,
    C: Sync

impl<'a, A, C> Unpin for TopIter<'a, A, C>

impl<'a, A, C> UnwindSafe for TopIter<'a, A, C> where
    A: RefUnwindSafe,
    C: RefUnwindSafe

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<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,