imgui
#[must_use] pub struct MenuItem<'ui, 'p> { // some fields omitted }
impl<'ui, 'p> MenuItem<'ui, 'p>
fn new(label: ImStr<'p>) -> Self
fn shortcut(self, shortcut: ImStr<'p>) -> Self
fn selected(self, selected: &'p mut bool) -> Self
fn enabled(self, enabled: bool) -> Self
fn build(self) -> bool