MCPcopy Create free account
hub / github.com/CleanCut/invaders / Menu

Class Menu

src/menu.rs:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use crate::frame::{Drawable, Frame};
2
3pub struct Menu {
4 pub options: Vec<String>,
5 pub selection: usize,
6}
7
8impl Menu {
9 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected