pub enum ControllerButton {
A,
B,
Select,
Start,
Up,
Down,
Left,
Right,
}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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControllerButton
Source§impl Debug for ControllerButton
impl Debug for ControllerButton
impl Eq for ControllerButton
Source§impl PartialEq for ControllerButton
impl PartialEq for ControllerButton
Source§fn eq(&self, other: &ControllerButton) -> bool
fn eq(&self, other: &ControllerButton) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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