Trait nekolib::traits::Pop

source ·
pub trait Pop {
    type Output;

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

Required Associated Types§

Required Methods§

source

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

Implementors§

source§

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

§

type Output = <M as Magma>::Set