pub struct SparseStates<T, CI> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<T, CI> BoardStateManager<T, CI, IntoIter<(CI, T)>> for SparseStates<T, CI>
impl<T, CI> BoardStateManager<T, CI, IntoIter<(CI, T)>> for SparseStates<T, CI>
fn get_cell_state(&self, idx: &CI) -> T
fn update_cell_states_from_par_iter( &mut self, new_states: IntoIter<IndexedDataOwned<CI, T>>, )
Auto Trait Implementations§
impl<T, CI> Freeze for SparseStates<T, CI>where
T: Freeze,
impl<T, CI> RefUnwindSafe for SparseStates<T, CI>where
T: RefUnwindSafe,
CI: RefUnwindSafe,
impl<T, CI> Send for SparseStates<T, CI>
impl<T, CI> Sync for SparseStates<T, CI>
impl<T, CI> Unpin for SparseStates<T, CI>
impl<T, CI> UnwindSafe for SparseStates<T, CI>where
T: UnwindSafe,
CI: UnwindSafe,
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