pub trait Controller<T> {
    // Required method
    fn control_branch(&mut self, item: &T) -> BranchControl;
}

Required Methods§

source

fn control_branch(&mut self, item: &T) -> BranchControl

Implementors§

source§

impl<T, F> Controller<T> for Fwhere F: FnMut(&T) -> BranchControl,