pub enum Shown {
Item {
item: Item,
enabled: bool,
checked: bool,
checkable: bool,
radio: bool,
},
Separator,
}Expand description
An item as a menu shows it in a context.
Variants§
Trait Implementations§
impl StructuralPartialEq for Shown
Auto Trait Implementations§
impl Freeze for Shown
impl RefUnwindSafe for Shown
impl Send for Shown
impl Sync for Shown
impl Unpin for Shown
impl UnsafeUnpin for Shown
impl UnwindSafe for Shown
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