pub enum ControllerButton {
Up,
Down,
Left,
Right,
B,
A,
Start,
C,
}Variants§
Trait Implementations§
Source§impl Clone for ControllerButton
impl Clone for ControllerButton
Source§fn clone(&self) -> ControllerButton
fn clone(&self) -> ControllerButton
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 ControllerButton
impl Debug for ControllerButton
Source§impl Hash for ControllerButton
impl Hash for ControllerButton
Source§impl PartialEq for ControllerButton
impl PartialEq for ControllerButton
impl Copy for ControllerButton
impl Eq for ControllerButton
impl StructuralPartialEq for ControllerButton
Auto Trait Implementations§
impl Freeze for ControllerButton
impl RefUnwindSafe for ControllerButton
impl Send for ControllerButton
impl Sync for ControllerButton
impl Unpin for ControllerButton
impl UnwindSafe for ControllerButton
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.