Skip to main content

StepperStates

Trait StepperStates 

Source
pub unsafe trait StepperStates:
    Copy
    + Debug
    + 'static {
    type StepperFnArray<StepperFn>: AsRef<[StepperFn]>;
}
Expand description

State indices for steppers.

§Safety

The implementer must ensure that the enum matches the games stepper states one-to-one including the explicit -1 inactive state.

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§