Skip to main content

fromsoftware_shared/
stepper.rs

1/// State indices for steppers.
2///
3/// # Safety
4/// The implementer must ensure that the enum matches the games stepper states one-to-one including
5/// the explicit -1 inactive state.
6pub unsafe trait StepperStates: Copy + std::fmt::Debug + 'static {
7    // Generic associated type since we can't use the count itself on FD4StepTemplateBase.
8    type StepperFnArray<StepperFn>: AsRef<[StepperFn]>;
9}