pub struct GamePad(/* private fields */);Expand description
A gamepad
Gamepads have 6 buttons: X (confirm), Z (cancel), Left, Right, Up and Down. Multiple buttons can be pressed at the same time.
Implementations§
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