#[non_exhaustive]pub enum ClickMethod {
Auto,
Accessibility,
Background,
FocusedBackground,
Global,
}Expand description
How a click is performed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Use the element’s accessibility action when that is equivalent, otherwise synthesize
pointer events with the computer’s default Delivery.
Accessibility
Only use accessibility actions; requires an element target.
Background
Synthesize pointer events delivered to the app in the background.
FocusedBackground
Like Background, with the target window given synthetic focus first
(see Delivery::FocusedBackground).
Global
Synthesize pointer events through the global input stream.
Trait Implementations§
Source§impl Clone for ClickMethod
impl Clone for ClickMethod
impl Copy for ClickMethod
Source§impl Debug for ClickMethod
impl Debug for ClickMethod
Source§impl Default for ClickMethod
impl Default for ClickMethod
impl Eq for ClickMethod
Source§impl FromStr for ClickMethod
impl FromStr for ClickMethod
Source§impl Hash for ClickMethod
impl Hash for ClickMethod
Source§impl PartialEq for ClickMethod
impl PartialEq for ClickMethod
impl StructuralPartialEq for ClickMethod
Auto Trait Implementations§
impl Forget for ClickMethod
impl Freeze for ClickMethod
impl RefUnwindSafe for ClickMethod
impl Send for ClickMethod
impl Sync for ClickMethod
impl Unpin for ClickMethod
impl UnsafeUnpin for ClickMethod
impl UnwindSafe for ClickMethod
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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