Enum input::ClickMethod [−][src]
#[non_exhaustive]
pub enum ClickMethod {
ButtonAreas,
Clickfinger,
}
Expand description
The click method defines when to generate software-emulated buttons, usually on a device that does not have a specific physical button available.
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.
ButtonAreas
Use software-button areas (see Clickfinger behavior) to generate button events.
Clickfinger
The number of fingers decides which button press to generate.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClickMethod
impl Send for ClickMethod
impl Sync for ClickMethod
impl Unpin for ClickMethod
impl UnwindSafe for ClickMethod
Blanket Implementations
Mutably borrows from an owned value. Read more