pub fn new_shared_automaton_state<'a, Id, D, E, S: AutomatonState<'a, Id, D, E> + 'a>(
state: S,
) -> SharedAutomatonState<'a, Id, D, E>Expand description
Creates shared reference for given state. Returned type signature is: Rc<RefCell<dyn AutomatonState>>