pub struct Menu<'a> {
pub name: &'a str,
pub exp: Option<&'a str>,
pub items: Vec<Item<'a>>,
pub exit: bool,
}
Expand description
Starting point for creating a menu instance.
Fields
name: &'a str
exp: Option<&'a str>
items: Vec<Item<'a>>
exit: bool
Posibility of exiting.