Skip to main content

StatefulPred

Trait StatefulPred 

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