pub struct ButtonState {
pub a: bool,
pub b: bool,
pub select: bool,
pub start: bool,
pub up: bool,
pub down: bool,
pub left: bool,
pub right: bool,
}
Fields§
§a: bool
§b: bool
§select: bool
§start: bool
§up: bool
§down: bool
§left: bool
§right: bool
Trait Implementations§
Source§impl Default for ButtonState
impl Default for ButtonState
Source§fn default() -> ButtonState
fn default() -> ButtonState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ButtonState
impl RefUnwindSafe for ButtonState
impl Send for ButtonState
impl Sync for ButtonState
impl Unpin for ButtonState
impl UnwindSafe for ButtonState
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