Struct DebouncedEvent

struct DebouncedEvent { ... }

A debounced event is emitted after a short delay.

Fields

event: Event

The original event.

time: Instant

The time at which the event occurred.

Implementations

impl DebouncedEvent

fn new(event: Event, time: Instant) -> Self

impl Clone for DebouncedEvent

fn clone(self: &Self) -> DebouncedEvent

impl Debug for DebouncedEvent

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Deref for DebouncedEvent

fn deref(self: &Self) -> &<Self as >::Target

impl DerefMut for DebouncedEvent

fn deref_mut(self: &mut Self) -> &mut <Self as >::Target

impl Eq for DebouncedEvent

impl Freeze for DebouncedEvent

impl PartialEq for DebouncedEvent

fn eq(self: &Self, other: &DebouncedEvent) -> bool

impl RefUnwindSafe for DebouncedEvent

impl Send for DebouncedEvent

impl StructuralPartialEq for DebouncedEvent

impl Sync for DebouncedEvent

impl Unpin for DebouncedEvent

impl UnsafeUnpin for DebouncedEvent

impl UnwindSafe for DebouncedEvent

impl<P, T> Receiver for DebouncedEvent

impl<T> Any for DebouncedEvent

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for DebouncedEvent

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for DebouncedEvent

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for DebouncedEvent

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for DebouncedEvent

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for DebouncedEvent

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for DebouncedEvent

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for DebouncedEvent

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for DebouncedEvent

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>