pub enum ControllerAction {
Press,
Move {
dx: i32,
dy: i32,
},
Edit,
}Expand description
Controller action reported by an accessory or glasses controller.
Variants§
Trait Implementations§
Source§impl Clone for ControllerAction
impl Clone for ControllerAction
Source§fn clone(&self) -> ControllerAction
fn clone(&self) -> ControllerAction
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 ControllerAction
Source§impl Debug for ControllerAction
impl Debug for ControllerAction
impl Eq for ControllerAction
Source§impl PartialEq for ControllerAction
impl PartialEq for ControllerAction
impl StructuralPartialEq for ControllerAction
Auto Trait Implementations§
impl Freeze for ControllerAction
impl RefUnwindSafe for ControllerAction
impl Send for ControllerAction
impl Sync for ControllerAction
impl Unpin for ControllerAction
impl UnsafeUnpin for ControllerAction
impl UnwindSafe for ControllerAction
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