pub enum InputMessage {
KeyboardInput(ButtonState, KeyCode),
MouseInput(ButtonState, MouseButton),
MouseWheel(MouseScrollDelta, TouchPhase),
}
Variants§
KeyboardInput(ButtonState, KeyCode)
MouseInput(ButtonState, MouseButton)
MouseWheel(MouseScrollDelta, TouchPhase)
Trait Implementations§
Source§impl Clone for InputMessage
impl Clone for InputMessage
Source§fn clone(&self) -> InputMessage
fn clone(&self) -> InputMessage
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 moreSource§impl Debug for InputMessage
impl Debug for InputMessage
impl Copy for InputMessage
impl Message for InputMessage
Auto Trait Implementations§
impl Freeze for InputMessage
impl RefUnwindSafe for InputMessage
impl Send for InputMessage
impl Sync for InputMessage
impl Unpin for InputMessage
impl UnwindSafe for InputMessage
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