pub struct RelativeData {
pub x: i16,
pub y: i16,
pub wheel: i8,
pub buttons: Buttons,
}Fields§
§x: i16§y: i16§wheel: i8Trait Implementations§
Source§impl Clone for RelativeData
impl Clone for RelativeData
Source§fn clone(&self) -> RelativeData
fn clone(&self) -> RelativeData
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 RelativeData
Auto Trait Implementations§
impl Freeze for RelativeData
impl RefUnwindSafe for RelativeData
impl Send for RelativeData
impl Sync for RelativeData
impl Unpin for RelativeData
impl UnsafeUnpin for RelativeData
impl UnwindSafe for RelativeData
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