Enum trayicon::MenuItem [−][src]
pub enum MenuItem<T> where
T: PartialEq + Clone + 'static, {
Separator,
Item {
id: T,
name: String,
disabled: bool,
icon: Option<Icon>,
},
Checkable {
id: T,
name: String,
is_checked: bool,
disabled: bool,
icon: Option<Icon>,
},
Submenu {
id: Option<T>,
name: String,
children: MenuBuilder<T>,
disabled: bool,
icon: Option<Icon>,
},
}
Variants
Separator
Item
Checkable
Submenu
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for MenuItem<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for MenuItem<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more