pub enum ControllerEvent {
Pressed(Button),
Released(Button),
}Variants§
Trait Implementations§
Source§impl Clone for ControllerEvent
impl Clone for ControllerEvent
Source§fn clone(&self) -> ControllerEvent
fn clone(&self) -> ControllerEvent
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 moreimpl Copy for ControllerEvent
Auto Trait Implementations§
impl Freeze for ControllerEvent
impl RefUnwindSafe for ControllerEvent
impl Send for ControllerEvent
impl Sync for ControllerEvent
impl Unpin for ControllerEvent
impl UnwindSafe for ControllerEvent
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