Enum moa_host::controllers::ControllerInput
source · pub enum ControllerInput {
DpadUp(bool),
DpadDown(bool),
DpadLeft(bool),
DpadRight(bool),
ButtonA(bool),
ButtonB(bool),
ButtonC(bool),
ButtonX(bool),
ButtonY(bool),
ButtonZ(bool),
Start(bool),
Mode(bool),
}
Variants§
DpadUp(bool)
DpadDown(bool)
DpadLeft(bool)
DpadRight(bool)
ButtonA(bool)
ButtonB(bool)
ButtonC(bool)
ButtonX(bool)
ButtonY(bool)
ButtonZ(bool)
Start(bool)
Mode(bool)
Trait Implementations§
source§impl Clone for ControllerInput
impl Clone for ControllerInput
source§fn clone(&self) -> ControllerInput
fn clone(&self) -> ControllerInput
Returns a copy 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 ControllerInput
impl Debug for ControllerInput
source§impl PartialEq for ControllerInput
impl PartialEq for ControllerInput
source§fn eq(&self, other: &ControllerInput) -> bool
fn eq(&self, other: &ControllerInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ControllerInput
impl Eq for ControllerInput
impl StructuralPartialEq for ControllerInput
Auto Trait Implementations§
impl Freeze for ControllerInput
impl RefUnwindSafe for ControllerInput
impl Send for ControllerInput
impl Sync for ControllerInput
impl Unpin for ControllerInput
impl UnwindSafe for ControllerInput
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