pub trait StatefulPred {
    type Input;

    // Required methods
    fn count(&self) -> usize;
    fn next(&mut self);
    fn pred(&self, x: &Self::Input) -> bool;
    fn reset(&mut self);
}

Required Associated Types§

Required Methods§

source

fn count(&self) -> usize

source

fn next(&mut self)

source

fn pred(&self, x: &Self::Input) -> bool

source

fn reset(&mut self)

Implementors§