[][src]Struct tournament_tree::TournamentTreeIterator

pub struct TournamentTreeIterator<T> { /* fields omitted */ }

A bounded priority queue using a TournamentTree for a backing structure.

Will replace each element removed with the next one from it's iterator until all iterators are exhausted. If the iterators iterate in reverse sorted order, the output will be in sorted order.

Implementations

impl<T: Ord> TournamentTreeIterator<T>[src]

pub fn builder() -> TournamentTreeIteratorBuilder<T>[src]

Creates a new TournamentTreeIteratorBuilder for constructing a TournamentTreeIterator

Trait Implementations

impl<T: Ord> Iterator for TournamentTreeIterator<T>[src]

type Item = T

The type of the elements being iterated over.

Auto Trait Implementations

impl<T> !RefUnwindSafe for TournamentTreeIterator<T>

impl<T> !Send for TournamentTreeIterator<T>

impl<T> !Sync for TournamentTreeIterator<T>

impl<T> Unpin for TournamentTreeIterator<T> where
    T: Unpin

impl<T> !UnwindSafe for TournamentTreeIterator<T>

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.