pub struct SimulatedSecondaryClickConfiguration {
pub enabled: bool,
pub hold_duration_ms: Option<u32>,
pub displacement_threshold: Option<i32>,
}Expand description
Simulated secondary (right) click via long-press.
Fields§
§enabled: bool§hold_duration_ms: Option<u32>How long (ms) to hold before the secondary click is generated.
displacement_threshold: Option<i32>Trait Implementations§
Source§impl Clone for SimulatedSecondaryClickConfiguration
impl Clone for SimulatedSecondaryClickConfiguration
Source§fn clone(&self) -> SimulatedSecondaryClickConfiguration
fn clone(&self) -> SimulatedSecondaryClickConfiguration
Returns a duplicate 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 Default for SimulatedSecondaryClickConfiguration
impl Default for SimulatedSecondaryClickConfiguration
Source§fn default() -> SimulatedSecondaryClickConfiguration
fn default() -> SimulatedSecondaryClickConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SimulatedSecondaryClickConfiguration
impl RefUnwindSafe for SimulatedSecondaryClickConfiguration
impl Send for SimulatedSecondaryClickConfiguration
impl Sync for SimulatedSecondaryClickConfiguration
impl Unpin for SimulatedSecondaryClickConfiguration
impl UnwindSafe for SimulatedSecondaryClickConfiguration
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