Trait nekolib::traits::push_pop::Push

source ·
pub trait Push {
    type Input;

    // Required method
    fn push(&mut self, x: Self::Input);
}

Required Associated Types§

Required Methods§

source

fn push(&mut self, x: Self::Input)

Implementors§

source§

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

§

type Input = <M as Magma>::Set