Module debounce::buffer[][src]

Structs

Wraps a mutable reference to a buffer and implements an Iterator returning elements in State::Ready. Commonly instantiated by Get::iter().

Debouncing buffer with a common delay for all events. Accepts events via EventBuffer::put() which tracks the time of events and de-duplicates them against the current buffer content. Subsequent call to EventBuffer::get () which returns the State of the buffer.

Debouncing buffer with per-event delays. Accepts events via MixedEventBuffer::put() passing a delay as an argument. The call tracks the time of events and de-duplicates them against the current buffer content. Subsequent call to MixedEventBuffer::get() which returns the State of the buffer.

Enums

Current state of the debouncing buffer returned from Get::get():

Traits

Common interface for getting events out of debouncing buffers.