MCPcopy 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

3pub type Frame = [[char; NUM_ROWS]; NUM_COLS];
4
5pub fn new_frame() -> Frame {
6 [[' '; NUM_ROWS]; NUM_COLS]
7}
8
9pub trait Drawable {
10 fn draw(&self, frame: &mut Frame);

Callers 2

render_screenFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected