Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CleanCut/invaders
/ new_frame
Function
new_frame
src/frame.rs:5–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
pub type Frame = [[char; NUM_ROWS]; NUM_COLS];
4
5
pub fn new_frame() -> Frame {
6
[[
' '
; NUM_ROWS]; NUM_COLS]
7
}
8
9
pub trait Drawable {
10
fn draw(&self, frame: &mut Frame);
Callers
2
render_screen
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected