Struct input_pipeline::mouse_binding::RelativeLocation
source · pub struct RelativeLocation {
pub millimeters: Position,
}
Expand description
A RelativeLocation
contains the relative mouse pointer location at the time of a pointer event.
Fields§
§millimeters: Position
A pointer location in millimeters.
Trait Implementations§
source§impl Clone for RelativeLocation
impl Clone for RelativeLocation
source§fn clone(&self) -> RelativeLocation
fn clone(&self) -> RelativeLocation
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 RelativeLocation
impl Debug for RelativeLocation
source§impl Default for RelativeLocation
impl Default for RelativeLocation
source§impl PartialEq for RelativeLocation
impl PartialEq for RelativeLocation
source§fn eq(&self, other: &RelativeLocation) -> bool
fn eq(&self, other: &RelativeLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RelativeLocation
impl StructuralPartialEq for RelativeLocation
Auto Trait Implementations§
impl Freeze for RelativeLocation
impl RefUnwindSafe for RelativeLocation
impl Send for RelativeLocation
impl Sync for RelativeLocation
impl Unpin for RelativeLocation
impl UnwindSafe for RelativeLocation
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