pub struct MenuEvent {
pub id: MenuId,
}Available on
desktop only.Expand description
Describes a menu event emitted when a menu item is activated
Fields§
§id: MenuIdId of the menu item which triggered this event
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MenuEvent
impl RefUnwindSafe for MenuEvent
impl Send for MenuEvent
impl Sync for MenuEvent
impl Unpin for MenuEvent
impl UnwindSafe for MenuEvent
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