BoardCallbackWithStates

Trait BoardCallbackWithStates 

Source
pub trait BoardCallbackWithStates<T, CI, I>: Send + Sync
where T: Send + Sync, CI: Send + Sync, I: ParallelIterator<Item = IndexedDataOwned<CI, T>>,
{ // Required method fn execute(&mut self, states: I); // Provided methods fn setup(&mut self) { ... } fn cleanup(&mut self) { ... } }

Required Methods§

Source

fn execute(&mut self, states: I)

Provided Methods§

Source

fn setup(&mut self)

Source

fn cleanup(&mut self)

Implementors§

Source§

impl<T, CI, I> BoardCallbackWithStates<T, CI, I> for StatesCallback<CI, T>
where T: Send + Sync + Clone + Eq, CI: Send + Sync + Clone + Eq + Hash, I: ParallelIterator<Item = IndexedDataOwned<CI, T>>,