pub enum MenuItem<'a> {
Entry(u16, &'a str),
Separator,
Submenu(&'a HMENU, &'a str),
}
Available on crate feature
user
only.Expand description
Variant parameter for:
Variants§
Entry(u16, &'a str)
A selectable entry item, with command ID and text.
Separator
A separator.
A submenu, with its entry text.
Auto Trait Implementations§
impl<'a> Freeze for MenuItem<'a>
impl<'a> RefUnwindSafe for MenuItem<'a>
impl<'a> !Send for MenuItem<'a>
impl<'a> !Sync for MenuItem<'a>
impl<'a> Unpin for MenuItem<'a>
impl<'a> UnwindSafe for MenuItem<'a>
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