pub struct BoardCallbackManager<T, CI, I>{ /* private fields */ }
Implementations§
Source§impl<T, CI> BoardCallbackManager<T, CI, IntoIter<IndexedDataOwned<CI, T>>>
impl<T, CI> BoardCallbackManager<T, CI, IntoIter<IndexedDataOwned<CI, T>>>
pub fn new( callbacks: Vec<BoardCallback<T, CI, IntoIter<IndexedDataOwned<CI, T>>>>, ) -> Self
pub fn setup_all(&mut self)
pub fn call(&self, next_states: Vec<IndexedDataOwned<CI, T>>)
pub fn cleanup_all(&mut self)
Auto Trait Implementations§
impl<T, CI, I> Freeze for BoardCallbackManager<T, CI, I>
impl<T, CI, I> RefUnwindSafe for BoardCallbackManager<T, CI, I>
impl<T, CI, I> Send for BoardCallbackManager<T, CI, I>
impl<T, CI, I> Sync for BoardCallbackManager<T, CI, I>
impl<T, CI, I> Unpin for BoardCallbackManager<T, CI, I>
impl<T, CI, I> UnwindSafe for BoardCallbackManager<T, CI, I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more