[][src]Trait finny::FsmStateFactory

pub trait FsmStateFactory where
    Self: Sized
{ pub fn new_state<C>(context: &C) -> FsmResult<Self>; }

Create a new state from the shared global context.

Required methods

pub fn new_state<C>(context: &C) -> FsmResult<Self>[src]

Constructor for building this state from the shared global context.

Loading content...

Implementors

impl<TState> FsmStateFactory for TState where
    TState: Default
[src]

Loading content...