Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/rl
/ Room
Class
Room
src/resources.rs:179–184 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
177
}
178
179
pub struct Room {
180
x: usize,
181
y: usize,
182
width: usize,
183
height: usize,
184
}
185
186
impl Room {
187
pub fn centre(&self) -> (usize, usize) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected