pub enum VirtualAction {
KeyButton(VirtualKeyCode),
MouseButton(MouseButton),
Axis(u32),
}
Variants§
Trait Implementations§
Source§impl Clone for VirtualAction
impl Clone for VirtualAction
Source§fn clone(&self) -> VirtualAction
fn clone(&self) -> VirtualAction
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 VirtualAction
impl Debug for VirtualAction
Source§impl Hash for VirtualAction
impl Hash for VirtualAction
Source§impl PartialEq for VirtualAction
impl PartialEq for VirtualAction
impl Copy for VirtualAction
impl Eq for VirtualAction
impl StructuralPartialEq for VirtualAction
Auto Trait Implementations§
impl Freeze for VirtualAction
impl RefUnwindSafe for VirtualAction
impl Send for VirtualAction
impl Sync for VirtualAction
impl Unpin for VirtualAction
impl UnwindSafe for VirtualAction
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