pub trait PopFront {
    type Output;

    // Required method
    fn pop_front(&mut self) -> Option<Self::Output>;
}

Required Associated Types§

Required Methods§

source

fn pop_front(&mut self) -> Option<Self::Output>

Implementors§

source§

impl<M: Monoid> PopFront for FoldableDeque<M>where M::Set: Clone,

§

type Output = <M as Magma>::Set

source§

impl<M: Monoid> PopFront for FoldableQueue<M>where M::Set: Clone,

§

type Output = <M as Magma>::Set