Trait aper::StateProgramFactory[][src]

pub trait StateProgramFactory: Clone + Sized + Unpin + 'static + Send {
    type State: StateProgram;
    fn create(&mut self) -> Self::State;
}
Expand description

A trait indicating that a struct can be used to create a StateProgram for a given type.

Associated Types

Required methods

Implementors