pub struct MenuItem {
pub name: String,
pub icon: String,
pub tooltip: String,
pub executable: String,
pub separator: bool,
pub terminal: bool,
}Fields§
§name: StringName
icon: StringIcon
tooltip: StringTooltip
executable: StringExecutable
separator: boolIs this a separator?
terminal: boolDoes this need a terminal?
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MenuItem
impl RefUnwindSafe for MenuItem
impl Send for MenuItem
impl Sync for MenuItem
impl Unpin for MenuItem
impl UnsafeUnpin for MenuItem
impl UnwindSafe for MenuItem
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