Enum input::ClickMethod
source · 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
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
sourceimpl Clone for ClickMethod
impl Clone for ClickMethod
sourcefn clone(&self) -> ClickMethod
fn clone(&self) -> ClickMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ClickMethod
impl Debug for ClickMethod
sourceimpl Hash for ClickMethod
impl Hash for ClickMethod
sourceimpl PartialEq<ClickMethod> for ClickMethod
impl PartialEq<ClickMethod> for ClickMethod
sourcefn eq(&self, other: &ClickMethod) -> bool
fn eq(&self, other: &ClickMethod) -> bool
impl Copy for ClickMethod
impl Eq for ClickMethod
impl StructuralEq for ClickMethod
impl StructuralPartialEq for ClickMethod
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more