Struct ArcadeStickButtons
#[repr(transparent)]pub struct ArcadeStickButtons(pub u32);Tuple Fields§
§0: u32Implementations§
§impl ArcadeStickButtons
impl ArcadeStickButtons
pub const None: Self
pub const StickUp: Self
pub const StickDown: Self
pub const StickLeft: Self
pub const StickRight: Self
pub const Action1: Self
pub const Action2: Self
pub const Action3: Self
pub const Action4: Self
pub const Action5: Self
pub const Action6: Self
pub const Special1: Self
pub const Special2: Self
§impl ArcadeStickButtons
impl ArcadeStickButtons
Trait Implementations§
§impl BitAnd for ArcadeStickButtons
impl BitAnd for ArcadeStickButtons
§impl BitAndAssign for ArcadeStickButtons
impl BitAndAssign for ArcadeStickButtons
§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the
&= operation. Read more§impl BitOr for ArcadeStickButtons
impl BitOr for ArcadeStickButtons
§impl BitOrAssign for ArcadeStickButtons
impl BitOrAssign for ArcadeStickButtons
§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read more§impl Clone for ArcadeStickButtons
impl Clone for ArcadeStickButtons
§fn clone(&self) -> ArcadeStickButtons
fn clone(&self) -> ArcadeStickButtons
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ArcadeStickButtons
impl Debug for ArcadeStickButtons
§impl Default for ArcadeStickButtons
impl Default for ArcadeStickButtons
§fn default() -> ArcadeStickButtons
fn default() -> ArcadeStickButtons
Returns the “default value” for a type. Read more
§impl Not for ArcadeStickButtons
impl Not for ArcadeStickButtons
§impl PartialEq for ArcadeStickButtons
impl PartialEq for ArcadeStickButtons
impl Copy for ArcadeStickButtons
impl Eq for ArcadeStickButtons
impl StructuralPartialEq for ArcadeStickButtons
Auto Trait Implementations§
impl Freeze for ArcadeStickButtons
impl RefUnwindSafe for ArcadeStickButtons
impl Send for ArcadeStickButtons
impl Sync for ArcadeStickButtons
impl Unpin for ArcadeStickButtons
impl UnwindSafe for ArcadeStickButtons
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