pub struct Click {
pub type: String,
pub button: String,
pub x: i64,
pub y: i64,
}
Expand description
A click action.
Fields§
§type: String
Specifies the event type.
Indicates which mouse button was pressed during the click.
x: i64
The x-coordinate where the click occurred.
y: i64
The y-coordinate where the click occurred.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Click
impl RefUnwindSafe for Click
impl Send for Click
impl Sync for Click
impl Unpin 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