pub trait IGamepadEvent: IEvent {
// Provided method
fn gamepad(&self) -> Gamepad { ... }
}
Expand description
A GamepadEvent is fired on the window object, when a gamepad is connected or disconnected to the system.
Provided Methods§
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.