pub struct MenuItem {
pub name: String,
pub icon: String,
pub tooltip: String,
pub executable: String,
pub separator: bool,
pub terminal: bool,
}
Fields§
§name: String
Name
icon: String
Icon
tooltip: String
Tooltip
executable: String
Executable
separator: bool
Is this a separator?
terminal: bool
Does 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 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