Struct gol_core::callback::model_states::StatesCallback[][src]

pub struct StatesCallback<CI, T> where
    CI: Hash
{ /* fields omitted */ }

Implementations

impl<CI, T> StatesCallback<CI, T> where
    CI: Hash
[src]

pub fn new(trivial_state: T) -> Self[src]

pub fn set_non_trivial_lookup(&mut self, lookup: HashMap<CI, T>)[src]

pub fn clone_read_only(&self) -> StatesReadOnly<CI, T> where
    T: Clone
[src]

Trait Implementations

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>>, 
[src]

Auto Trait Implementations

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

impl<CI, T> Send for StatesCallback<CI, T> where
    CI: Send + Sync,
    T: Send + Sync

impl<CI, T> Sync for StatesCallback<CI, T> where
    CI: Send + Sync,
    T: Send + Sync

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

impl<CI, T> UnwindSafe for StatesCallback<CI, T> where
    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.