pub enum Gamepad {
Button(Button),
Axis(Axis),
}
Expand description
All possible inputs from a gamepad device.
Variants§
Trait Implementations§
impl Copy for Gamepad
impl Eq for Gamepad
impl StructuralPartialEq for Gamepad
Auto Trait Implementations§
impl Freeze for Gamepad
impl RefUnwindSafe for Gamepad
impl Send for Gamepad
impl Sync for Gamepad
impl Unpin for Gamepad
impl UnwindSafe for Gamepad
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more