pub trait InputAxisAction: InputAction<Binding = AxisBinding> {
// Required method
fn bindings(&self) -> Vec<AxisBinding>;
}Expand description
An action that reads back a number in -1..=1, or, bound to a
PointerDelta or
WheelDelta lane, how far it moved.
Required if you want a verb with a strength and a direction: a throttle, a lean, a turn.
Required Methods§
Sourcefn bindings(&self) -> Vec<AxisBinding>
fn bindings(&self) -> Vec<AxisBinding>
The controls this action starts out bound to; the one pushed furthest is the one it reads.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".