Enum screenruster_saver::pointer::Pointer
[−]
[src]
pub enum Pointer { Move { x: i32, y: i32, }, Button { x: i32, y: i32, button: u8, press: bool, }, }
Represents pointer eents.
This can be used to make an interactive saver or show the dialog.
Variants
Move
The pointer has moved.
Fields
x: i32 | |
y: i32 |
Button
A button has been pressed or released.
Fields
x: i32 | |
y: i32 | |
button: u8 | |
press: bool |
Trait Implementations
impl Debug for Pointer
[src]
impl Clone for Pointer
[src]
fn clone(&self) -> Pointer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Pointer
[src]
impl PartialEq for Pointer
[src]
fn eq(&self, __arg_0: &Pointer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Pointer) -> bool
This method tests for !=
.