pub trait TnuaAirActionDefinition: TnuaScheme {
// Required method
fn is_air_action(action: Self::ActionDiscriminant) -> bool;
}Expand description
Must be implemented by control schemes that want to use TnuaAirActionsTracker or
TnuaSimpleAirActionsCounter.
Required Methods§
Sourcefn is_air_action(action: Self::ActionDiscriminant) -> bool
fn is_air_action(action: Self::ActionDiscriminant) -> bool
Whether or not this action is capable of making the character airborne.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.