pub enum MenuEntry {
Item(MenuItem),
Separator,
Label(String),
}Expand description
Menu entry: item, separator, or label
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MenuEntry
impl RefUnwindSafe for MenuEntry
impl Send for MenuEntry
impl Sync for MenuEntry
impl Unpin for MenuEntry
impl UnsafeUnpin for MenuEntry
impl UnwindSafe for MenuEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more