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