pub struct TrayMenu {
pub id: u32,
pub submenus: Vec<MenuItem>,
}
Expand description
A menu that should be displayed when clicking corresponding tray icon
Fields§
§id: u32
The unique identifier of the menu
A recursive list of submenus
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrayMenu
impl RefUnwindSafe for TrayMenu
impl Send for TrayMenu
impl Sync for TrayMenu
impl Unpin for TrayMenu
impl UnwindSafe for TrayMenu
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