Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/rl
/ Input
Class
Input
src/resources.rs:23–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
pub struct Input {
24
pub up: bool,
25
pub down: bool,
26
pub left: bool,
27
pub right: bool,
28
}
29
30
impl Input {
31
pub fn new() -> Input {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected