#[repr(u8)]pub enum Button {
Up = 0,
Down = 1,
Left = 2,
Right = 3,
A = 4,
B = 5,
X = 6,
Y = 7,
}
Variants§
Trait Implementations§
source§impl BitAnd<Button> for GamePadButtons
impl BitAnd<Button> for GamePadButtons
source§impl BitOr<Button> for GamePadButtons
impl BitOr<Button> for GamePadButtons
impl Copy for Button
Auto Trait Implementations§
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
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