pub enum ButtonName {
Show 14 variants
A,
B,
Back,
DPDown,
DPLeft,
DPRight,
DPUp,
LeftShoulder,
LeftStick,
RightShoulder,
RightStick,
Start,
X,
Y,
}Variants§
Trait Implementations§
Source§impl AsRef<str> for ButtonName
impl AsRef<str> for ButtonName
Source§impl Clone for ButtonName
impl Clone for ButtonName
Source§fn clone(&self) -> ButtonName
fn clone(&self) -> ButtonName
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 moreSource§impl Debug for ButtonName
impl Debug for ButtonName
Source§impl PartialEq for ButtonName
impl PartialEq for ButtonName
impl Copy for ButtonName
impl StructuralPartialEq for ButtonName
Auto Trait Implementations§
impl Freeze for ButtonName
impl RefUnwindSafe for ButtonName
impl Send for ButtonName
impl Sync for ButtonName
impl Unpin for ButtonName
impl UnwindSafe for ButtonName
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