pub struct DebouncingConfig {
pub wait_time: Duration,
pub debounced_methods: HashMap<String, Duration>,
}Available on non-WebAssembly only.
Expand description
Configuration for debouncing.
Fields§
§wait_time: DurationTime to wait before sending after last update
debounced_methods: HashMap<String, Duration>Methods to debounce (method -> wait time)
Trait Implementations§
Source§impl Clone for DebouncingConfig
impl Clone for DebouncingConfig
Source§fn clone(&self) -> DebouncingConfig
fn clone(&self) -> DebouncingConfig
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 DebouncingConfig
impl Debug for DebouncingConfig
Auto Trait Implementations§
impl Freeze for DebouncingConfig
impl RefUnwindSafe for DebouncingConfig
impl Send for DebouncingConfig
impl Sync for DebouncingConfig
impl Unpin for DebouncingConfig
impl UnwindSafe for DebouncingConfig
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