pub struct TapHoldConfig {
pub enable_hrm: Option<bool>,
pub prior_idle_time: Option<DurationMillis>,
pub post_wait_time: Option<DurationMillis>,
pub hold_timeout: Option<DurationMillis>,
}Expand description
Configurations for tap hold
Fields§
§enable_hrm: Option<bool>§prior_idle_time: Option<DurationMillis>§post_wait_time: Option<DurationMillis>§hold_timeout: Option<DurationMillis>Trait Implementations§
Source§impl Clone for TapHoldConfig
impl Clone for TapHoldConfig
Source§fn clone(&self) -> TapHoldConfig
fn clone(&self) -> TapHoldConfig
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 Debug for TapHoldConfig
impl Debug for TapHoldConfig
Source§impl<'de> Deserialize<'de> for TapHoldConfig
impl<'de> Deserialize<'de> for TapHoldConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TapHoldConfig
impl RefUnwindSafe for TapHoldConfig
impl Send for TapHoldConfig
impl Sync for TapHoldConfig
impl Unpin for TapHoldConfig
impl UnwindSafe for TapHoldConfig
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