#[non_exhaustive]pub enum ThreadMessage {
WindowProc(ListenerMessage),
Hotkey(u8),
Other(RawThreadMessage),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WindowProc(ListenerMessage)
Available on crate feature
ui only.Hotkey(u8)
Available on crate feature
input only.Other(RawThreadMessage)
Trait Implementations§
Source§impl Clone for ThreadMessage
impl Clone for ThreadMessage
Source§fn clone(&self) -> ThreadMessage
fn clone(&self) -> ThreadMessage
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 ThreadMessage
impl Debug for ThreadMessage
Source§impl From<MSG> for ThreadMessage
impl From<MSG> for ThreadMessage
Source§fn from(raw_message: RawThreadMessage) -> Self
fn from(raw_message: RawThreadMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ThreadMessage
impl RefUnwindSafe for ThreadMessage
impl !Send for ThreadMessage
impl !Sync for ThreadMessage
impl Unpin for ThreadMessage
impl UnwindSafe for ThreadMessage
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