pub struct Click {
pub output: String,
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub button: u32,
pub scroll: Option<Scroll>,
}Expand description
A click outside the island, where it happened, to pass on.
Fields§
§output: StringThe monitor it happened on.
x: f64Where, in that monitor’s logical pixels, out of width by height.
y: f64§width: f64§height: f64Qt’s button: 1 left, 2 right, 4 middle; 0 for a scroll.
scroll: Option<Scroll>A scroll instead of a click: Qt’s wheel angles, 120 a notch, positive away from the user and to the right.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Click
impl<'de> Deserialize<'de> for Click
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Click
Auto Trait Implementations§
impl Freeze for Click
impl RefUnwindSafe for Click
impl Send for Click
impl Sync for Click
impl Unpin for Click
impl UnsafeUnpin for Click
impl UnwindSafe for Click
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