Enum tauri::EventLoopMessage
source · pub enum EventLoopMessage {
MenuEvent(MenuEvent),
TrayIconEvent(TrayIconEvent),
}
Expand description
The user event type.
Variants§
MenuEvent(MenuEvent)
An event from a menu item, could be on the window menu bar, application menu bar (on macOS) or tray icon menu.
TrayIconEvent(TrayIconEvent)
Available on
desktop
and crate feature tray-icon
only.An event from a menu item, could be on the window menu bar, application menu bar (on macOS) or tray icon menu.
Trait Implementations§
source§impl Clone for EventLoopMessage
impl Clone for EventLoopMessage
source§fn clone(&self) -> EventLoopMessage
fn clone(&self) -> EventLoopMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventLoopMessage
impl Debug for EventLoopMessage
source§impl From<EventLoopMessage> for RunEvent
impl From<EventLoopMessage> for RunEvent
source§fn from(event: EventLoopMessage) -> Self
fn from(event: EventLoopMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EventLoopMessage
impl Send for EventLoopMessage
impl Sync for EventLoopMessage
impl Unpin for EventLoopMessage
impl UnwindSafe for EventLoopMessage
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