pub enum MenuItem<T: Copy + Debug> {
Submenu(Menu<T>),
Entry(MenuEntry<T>),
Separator,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for MenuItem<T>where
T: Freeze,
impl<T> RefUnwindSafe for MenuItem<T>where
T: RefUnwindSafe,
impl<T> !Send for MenuItem<T>
impl<T> !Sync for MenuItem<T>
impl<T> Unpin for MenuItem<T>where
T: Unpin,
impl<T> UnwindSafe for MenuItem<T>where
T: UnwindSafe,
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