Skip to main content

Push

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

Source§

type Input = <M as Magma>::Set