MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / ButtonState

Class ButtonState

src/input.rs:183–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183pub(crate) struct ButtonState<T> {
184 down: HashSet<T>,
185 pressed: HashSet<T>,
186 released: HashSet<T>,
187}
188
189impl<T: Copy + Eq + Hash> ButtonState<T> {
190 fn new() -> ButtonState<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected