Enum input::ClickMethod
[−]
[src]
pub enum ClickMethod {
ButtonAreas,
Clickfinger,
}The click method defines when to generate software-emulated buttons, usually on a device that does not have a specific physical button available.
Variants
ButtonAreasUse software-button areas (see Clickfinger behavior) to generate button events.
ClickfingerThe number of fingers decides which button press to generate.
Trait Implementations
impl Debug for ClickMethod[src]
impl Copy for ClickMethod[src]
impl Clone for ClickMethod[src]
fn clone(&self) -> ClickMethod
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for ClickMethod[src]
fn eq(&self, __arg_0: &ClickMethod) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for ClickMethod[src]
impl Hash for ClickMethod[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.