pub struct GamePad {
pub up: bool,
pub down: bool,
pub left: bool,
pub right: bool,
pub b: bool,
pub a: bool,
pub c: bool,
pub start: bool,
pub port_select: bool,
}Fields§
§up: bool§down: bool§left: bool§right: bool§b: bool§a: bool§c: bool§start: bool§port_select: boolTrait 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