Enum fui_system::MenuItem
source · [−]pub enum MenuItem {
Separator,
Text {
text: String,
shortcut: Option<String>,
icon: Option<Icon>,
callback: Option<RawCallback>,
sub_items: Vec<MenuItem>,
},
}
Variants
Separator
Text
Implementations
Auto Trait Implementations
impl RefUnwindSafe for MenuItem
impl !Send for MenuItem
impl !Sync for MenuItem
impl Unpin for MenuItem
impl UnwindSafe for MenuItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more