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