Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
use crate::frame::{Drawable, Frame};
2
3
pub struct Menu {
4
pub options: Vec<String>,
5
pub selection: usize,
6
}
7
8
impl Menu {
9
pub fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected