Struct smithay_client_toolkit::seat::keyboard::RepeatDetails
source · struct RepeatDetails {
locked: bool,
gap: Option<NonZeroU32>,
delay: u32,
}
Fields§
§locked: bool
§gap: Option<NonZeroU32>
Gap between key presses in microseconds.
If the gap
is None
, it means that repeat is disabled.
delay: u32
Delay before starting key repeat in milliseconds.
Auto Trait Implementations§
impl RefUnwindSafe for RepeatDetails
impl Send for RepeatDetails
impl Sync for RepeatDetails
impl Unpin for RepeatDetails
impl UnwindSafe for RepeatDetails
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