pub enum SimplifiedTrayIconMsg {
Activated,
ContextMenuRequested {
x: i16,
y: i16,
},
Other(TrayIconMsg),
}Variants§
Activated
Tray icon was clicked or double-clicked with primary mouse button, or Space or Enter was pressed on a keyboard-focused icon.
Repeating the action in the double-click time frame leads to an Other event instead, which should be ignored (because only some occurrences of the respective message IDs are available, while others are transformed).
ContextMenuRequested
Secondary mouse button was pressed, or context menu key/Shift+F10 was pressed on a keyboard-focused icon. With x-and-y virtual-screen coordinates.
Other(TrayIconMsg)
Auto Trait Implementations§
impl Freeze for SimplifiedTrayIconMsg
impl RefUnwindSafe for SimplifiedTrayIconMsg
impl Send for SimplifiedTrayIconMsg
impl Sync for SimplifiedTrayIconMsg
impl Unpin for SimplifiedTrayIconMsg
impl UnwindSafe for SimplifiedTrayIconMsg
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