Struct signalo_filters::classify::debounce::Config [−][src]
pub struct Config<T, U> { pub threshold: usize, pub predicate: T, pub outputs: [U; 2], }
Expand description
The Debounce filter’s configuration.
Fields
threshold: usize
Threshold of how long input must remain same to be accepted.
predicate: T
Value to debounce.
outputs: [U; 2]
[off, on] output.