new_shared_concrete_state

Function new_shared_concrete_state 

Source
pub fn new_shared_concrete_state<'a, Id, D, E, S: AutomatonState<'a, Id, D, E> + 'a>(
    state: S,
) -> Rc<RefCell<S>>
Expand description

Creates shared reference for given state. Returned type signature is: Rc<RefCell<S>> where S is a concrete implementation of AutomatonState.