Skip to main content

PopFront

Trait PopFront 

Source
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,

Source§

type Output = <M as Magma>::Set

Source§

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

Source§

type Output = <M as Magma>::Set