Struct menu::Menu [] [src]

pub struct Menu<'a, T> where
    T: 'a, 
{ pub label: &'a str, pub items: &'a [&'a Item<'a, T>], pub entry: Option<fn(menu: &Menu<T>)>, pub exit: Option<fn(menu: &Menu<T>)>, }

A Menu is made of Items

Fields

Trait Implementations

Auto Trait Implementations

impl<'a, T> Send for Menu<'a, T>

impl<'a, T> Sync for Menu<'a, T>