pub struct TrayMenuItemSpec {
pub id: &'static str,
pub label: String,
pub enabled: bool,
}Expand description
One entry in a tray context menu.
Fields§
§id: &'static str§label: String§enabled: boolImplementations§
Auto Trait Implementations§
impl Freeze for TrayMenuItemSpec
impl RefUnwindSafe for TrayMenuItemSpec
impl Send for TrayMenuItemSpec
impl Sync for TrayMenuItemSpec
impl Unpin for TrayMenuItemSpec
impl UnsafeUnpin for TrayMenuItemSpec
impl UnwindSafe for TrayMenuItemSpec
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