pub enum PointSpace {
Global,
Monitor(usize),
Window,
}Expand description
The coordinate space an incoming point is expressed in. Each maps to the coordinates the session already stores; nothing is derived at test time.
Variants§
Global
Global desktop physical pixels (global_px).
Monitor(usize)
Monitor-local physical pixels (px) of the given monitor index.
Window
Physical pixels relative to the target window’s top-left
(window_px); needs a --target session.
Implementations§
Trait Implementations§
Source§impl Clone for PointSpace
impl Clone for PointSpace
Source§fn clone(&self) -> PointSpace
fn clone(&self) -> PointSpace
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 PointSpace
Source§impl Debug for PointSpace
impl Debug for PointSpace
impl Eq for PointSpace
Source§impl PartialEq for PointSpace
impl PartialEq for PointSpace
impl StructuralPartialEq for PointSpace
Auto Trait Implementations§
impl Freeze for PointSpace
impl RefUnwindSafe for PointSpace
impl Send for PointSpace
impl Sync for PointSpace
impl Unpin for PointSpace
impl UnsafeUnpin for PointSpace
impl UnwindSafe for PointSpace
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.