Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/rl
/ Sprite
Class
Sprite
src/components.rs:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
}
15
16
pub struct Sprite {
17
pub character: char,
18
pub color: Color,
19
}
20
21
impl Sprite {
22
pub fn new(character: char, color: Color) -> Sprite {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected