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
.