pub trait StatesContains<S> {
// Required method
fn states_contains(&self, state: &S) -> Option<StateIndex>;
}
Required Methods§
Sourcefn states_contains(&self, state: &S) -> Option<StateIndex>
fn states_contains(&self, state: &S) -> Option<StateIndex>
Return the state index of the state, if it exists.