#[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§
Source§impl Clone for ClickMethod
impl Clone for ClickMethod
Source§fn clone(&self) -> ClickMethod
fn clone(&self) -> ClickMethod
Returns a copy 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 ClickMethod
impl Debug for ClickMethod
Source§impl Hash for ClickMethod
impl Hash for ClickMethod
Source§impl PartialEq for ClickMethod
impl PartialEq for ClickMethod
impl Copy for ClickMethod
impl Eq for ClickMethod
impl StructuralPartialEq for ClickMethod
Auto Trait Implementations§
impl Freeze for ClickMethod
impl RefUnwindSafe for ClickMethod
impl Send for ClickMethod
impl Sync for ClickMethod
impl Unpin for ClickMethod
impl UnwindSafe for ClickMethod
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