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]

[src]

impl<Q> Queue<Q>
[src]

[src]

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

[src]

[src]

Trait Implementations

impl<'a> ByRef<'a> for Queue<()>
[src]

[src]

impl<'a, H: 'a, T: 'a, R: 'a> ByRef<'a> for Queue<(H, T)> where
    H: ByRef<'a, Refs = R>, 
[src]

[src]

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

[src]

fold sequence using Function starting with Init value

impl<I, F, H, T> Foldable<I, F> for Queue<(H, T)> where
    H: for<'a> Foldable<I, &'a mut F>,
    F: FnMut<(T, I), Output = I>, 
[src]

[src]

fold sequence using Function starting with Init value

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

Result of mapping

[src]

Map sequence using Function

impl<'a, F> Functor<F> for &'a Queue<()>
[src]

Result of mapping

[src]

Map sequence using Function

impl<F, H, T, O, U> Functor<F> for Queue<(H, T)> where
    H: for<'a> Functor<&'a mut F, Output = U>,
    F: FnMut<(T,), Output = O>, 
[src]

Result of mapping

[src]

Map sequence using Function

impl<'a, F, H, T, O, U> Functor<F> for &'a mut Queue<(H, T)> where
    &'a mut H: for<'b> Functor<&'b mut F, Output = U>,
    F: FnMut<(&'a mut T,), Output = O>, 
[src]

Result of mapping

[src]

Map sequence using Function

impl<'a, F, H, T, O, U> Functor<F> for &'a Queue<(H, T)> where
    &'a H: for<'b> Functor<&'b mut F, Output = U>,
    F: FnMut<(&'a T,), Output = O>, 
[src]

Result of mapping

[src]

Map sequence using Function

impl Length for Queue<()>
[src]

[src]

impl<H, T> Length for Queue<(H, T)> where
    H: Length
[src]

[src]

impl<E> Try<E> for Queue<()>
[src]

Sequence of Ok Results

[src]

impl<E, H, T, Z> Try<E> for Queue<(H, Result<T, E>)> where
    H: Try<E, Ok = Z>, 
[src]

Sequence of Ok Results

[src]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

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

[src]

Formats the value using the given formatter.

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

[src]

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

[src]

This method tests for !=.

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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]

[src]

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

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl Zip<Queue<()>> for Queue<()>
[src]

[src]

impl<LH, LT, RH, RT, ZH> Zip<Queue<(RH, RT)>> for Queue<(LH, LT)> where
    LH: Zip<RH, Zipped = ZH>, 
[src]

[src]