Struct hetseq::Queue [] [src]

pub struct Queue<Q>(pub Q);

Heterogenous queue Supports pushing, splitting to init and last Mapping and folding

Methods

impl Queue<()>
[src]

impl<Q> Queue<Q>
[src]

impl<H, T> Queue<(Queue<H>, T)>
[src]

Trait Implementations

impl<I, F> Foldable<I, F> for Queue<()>
[src]

fold sequence using Function starting with Init value

impl<I, X, H, T> Foldable<I, X> for Queue<(Queue<H>, T)> where
    Queue<H>: Foldable<I, X>,
    X: Fn<(T, I), Output = I> + Clone
[src]

fold sequence using Function starting with Init value

impl<F> Functor<F> for Queue<()>
[src]

Result of mapping

Map sequence using Function

impl<X, H, T, O, U> Functor<X> for Queue<(Queue<H>, T)> where
    Queue<H>: Functor<X, Output = Queue<U>>,
    X: Fn<(T,), Output = O> + Clone
[src]

Result of mapping

Map sequence using Function

impl<Q: Clone> Clone for Queue<Q>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Q: Copy> Copy for Queue<Q>
[src]

impl<Q: Debug> Debug for Queue<Q>
[src]

Formats the value using the given formatter.

impl<Q: PartialEq> PartialEq for Queue<Q>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Q: PartialOrd> PartialOrd for Queue<Q>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<Q: Eq> Eq for Queue<Q>
[src]

impl<Q: Ord> Ord for Queue<Q>
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more