| 181 | } |
| 182 | |
| 183 | pub(crate) struct ButtonState<T> { |
| 184 | down: HashSet<T>, |
| 185 | pressed: HashSet<T>, |
| 186 | released: HashSet<T>, |
| 187 | } |
| 188 | |
| 189 | impl<T: Copy + Eq + Hash> ButtonState<T> { |
| 190 | fn new() -> ButtonState<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected