pub enum ListenerMessageVariant {
MenuCommand {
selected_item_id: u32,
},
WindowMinimized,
WindowClose,
WindowDestroy,
NotificationIconSelect {
icon_id: u16,
xy_coords: Point,
},
NotificationIconContextSelect {
icon_id: u16,
xy_coords: Point,
},
Timer {
timer_id: usize,
},
CustomUserMessage(CustomUserMessage),
}Available on crate feature
ui only.Variants§
MenuCommand
WindowMinimized
WindowClose
WindowDestroy
NotificationIconSelect
NotificationIconContextSelect
Timer
CustomUserMessage(CustomUserMessage)
Message generated from raw message ID values between WM_APP and WM_APP + u8::MAX exclusive.
Message ID 0 represents the raw value WM_APP.
Trait Implementations§
Source§impl Clone for ListenerMessageVariant
impl Clone for ListenerMessageVariant
Source§fn clone(&self) -> ListenerMessageVariant
fn clone(&self) -> ListenerMessageVariant
Returns a duplicate 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 ListenerMessageVariant
impl Debug for ListenerMessageVariant
Source§impl PartialEq for ListenerMessageVariant
impl PartialEq for ListenerMessageVariant
impl StructuralPartialEq for ListenerMessageVariant
Auto Trait Implementations§
impl Freeze for ListenerMessageVariant
impl RefUnwindSafe for ListenerMessageVariant
impl Send for ListenerMessageVariant
impl Sync for ListenerMessageVariant
impl Unpin for ListenerMessageVariant
impl UnwindSafe for ListenerMessageVariant
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