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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)