Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/nova
/ is_down
Method
is_down
src/input.rs:219–221 ·
view source on GitHub ↗
(&self, button: T)
Source
from the content-addressed store, hash-verified
217
}
218
219
fn is_down(&self, button: T) -> bool {
220
self.down.contains(&button)
221
}
222
223
fn is_up(&self, button: T) -> bool {
224
!self.down.contains(&button)
Callers
3
is_key_down
Method · 0.80
is_mouse_button_down
Method · 0.80
is_gamepad_button_down
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected