Struct gol_core::board_states::sparse::SparseStates[][src]

pub struct SparseStates<T, CI> { /* fields omitted */ }

Implementations

impl<T, CI> SparseStates<T, CI>[src]

pub fn new(default_state: T, initial_states: HashMap<CI, T>) -> Self where
    CI: Eq + Hash + Clone,
    T: PartialEq + Clone
[src]

Trait Implementations

impl<T, CI> BoardStateManager<T, CI, IntoIter<(CI, T)>> for SparseStates<T, CI> where
    T: Send + Sync + Clone + PartialEq,
    CI: Send + Sync + Hash + Eq + Clone
[src]

Auto Trait Implementations

impl<T, CI> RefUnwindSafe for SparseStates<T, CI> where
    CI: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, CI> Send for SparseStates<T, CI> where
    CI: Send,
    T: Send

impl<T, CI> Sync for SparseStates<T, CI> where
    CI: Sync,
    T: Sync

impl<T, CI> Unpin for SparseStates<T, CI> where
    CI: Unpin,
    T: Unpin

impl<T, CI> UnwindSafe for SparseStates<T, CI> where
    CI: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.