pub fn states_contains_from<S>(
container: &impl StatesContains<S>,
from: &impl StatesIndex<S>,
state_index: StateIndex,
) -> Option<StateIndex>Expand description
Convert state index from from into a state index in the container, if the state exists.