pub enum InputCommand {
Controller1(ControllerButton),
Controller2(ControllerButton),
PlayPause,
SoftReset,
HardReset,
}Variants§
Trait Implementations§
Source§impl Clone for InputCommand
impl Clone for InputCommand
Source§fn clone(&self) -> InputCommand
fn clone(&self) -> InputCommand
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 InputCommand
impl Debug for InputCommand
Source§impl Hash for InputCommand
impl Hash for InputCommand
Source§impl PartialEq for InputCommand
impl PartialEq for InputCommand
impl Copy for InputCommand
impl Eq for InputCommand
impl StructuralPartialEq for InputCommand
Auto Trait Implementations§
impl Freeze for InputCommand
impl RefUnwindSafe for InputCommand
impl Send for InputCommand
impl Sync for InputCommand
impl Unpin for InputCommand
impl UnwindSafe for InputCommand
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.