pub struct MouseClickOptions {
pub button: MouseButton,
pub delay_after_press: Option<Duration>,
}Expand description
Configuration for a single mouse click.
Fields§
Mouse button to use; defaults to the left button.
delay_after_press: Option<Duration>Optional delay to wait before releasing the button.
Trait Implementations§
Source§impl Clone for MouseClickOptions
impl Clone for MouseClickOptions
Source§fn clone(&self) -> MouseClickOptions
fn clone(&self) -> MouseClickOptions
Returns a duplicate 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 MouseClickOptions
impl Debug for MouseClickOptions
Auto Trait Implementations§
impl Freeze for MouseClickOptions
impl RefUnwindSafe for MouseClickOptions
impl Send for MouseClickOptions
impl Sync for MouseClickOptions
impl Unpin for MouseClickOptions
impl UnwindSafe for MouseClickOptions
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