pub trait InputRegistryExt {
// Required method
fn register_input_action<A>(self) -> Self
where A: InputAction;
}Available on crate feature
input_bei and (crate features input_bei or input_native or leafwing) only.Required Methods§
Sourcefn register_input_action<A>(self) -> Selfwhere
A: InputAction,
fn register_input_action<A>(self) -> Selfwhere
A: InputAction,
Registers a new input action type and returns its kind.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".