Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/rl
/ new
Method
new
src/components.rs:11–13 ·
view source on GitHub ↗
(x: usize, y: usize)
Source
from the content-addressed store, hash-verified
9
10
impl Position {
11
pub fn new(x: usize, y: usize) -> Position {
12
Position { x, y }
13
}
14
}
15
16
pub struct Sprite {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected