Struct debounce::buffer::MixedEventBuffer[][src]

pub struct MixedEventBuffer<T> { /* fields omitted */ }
Expand description

Debouncing buffer with per-event delays. Accepts events via .put(T, delay) which tracks the time of the event and de-duplicates them against the current buffer content. Subsequent call to .get() which returns the State of the buffer.

Implemented on top of a BinaryHeap and should be slightly less preformant than EventBuffer.

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.