Trait nekolib::traits::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);
}