pub struct MouseInput {
pub buttons: u8,
pub dx: i16,
pub dy: i16,
pub wheel: i16,
pub pan: i16,
}Fields§
§dx: i16§dy: i16§wheel: i16§pan: i16Trait Implementations§
Source§impl Clone for MouseInput
impl Clone for MouseInput
Source§fn clone(&self) -> MouseInput
fn clone(&self) -> MouseInput
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 moreSource§impl Debug for MouseInput
impl Debug for MouseInput
Source§impl Default for MouseInput
impl Default for MouseInput
Source§fn default() -> MouseInput
fn default() -> MouseInput
Returns the “default value” for a type. Read more
Source§impl DeviceInput for MouseInput
impl DeviceInput for MouseInput
Auto Trait Implementations§
impl Freeze for MouseInput
impl RefUnwindSafe for MouseInput
impl Send for MouseInput
impl Sync for MouseInput
impl Unpin for MouseInput
impl UnsafeUnpin for MouseInput
impl UnwindSafe for MouseInput
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