pub struct EmptyWindowMessageListener;
Available on crate feature
ui
only.Expand description
A WindowMessageListener
that leaves all handlers to their default empty impls.
Trait Implementations§
Source§impl Clone for EmptyWindowMessageListener
impl Clone for EmptyWindowMessageListener
Source§fn clone(&self) -> EmptyWindowMessageListener
fn clone(&self) -> EmptyWindowMessageListener
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 EmptyWindowMessageListener
impl Debug for EmptyWindowMessageListener
Source§impl Default for EmptyWindowMessageListener
impl Default for EmptyWindowMessageListener
Source§fn default() -> EmptyWindowMessageListener
fn default() -> EmptyWindowMessageListener
Returns the “default value” for a type. Read more
Source§impl WindowMessageListener for EmptyWindowMessageListener
impl WindowMessageListener for EmptyWindowMessageListener
An item from a window’s menu was selected by the user.
Source§fn handle_window_minimized(&self, window: &WindowHandle)
fn handle_window_minimized(&self, window: &WindowHandle)
A ‘minimize window’ action was performed.
Source§fn handle_window_close(&self, window: &WindowHandle) -> ListenerAnswer
fn handle_window_close(&self, window: &WindowHandle) -> ListenerAnswer
A ‘close window’ action was performed.
Source§fn handle_window_destroy(&self, window: &WindowHandle)
fn handle_window_destroy(&self, window: &WindowHandle)
A window was destroyed and removed from the screen.
Source§fn handle_notification_icon_select(&self, icon_id: u16, xy_coords: Point)
fn handle_notification_icon_select(&self, icon_id: u16, xy_coords: Point)
A notification icon was selected (triggered).
Source§fn handle_notification_icon_context_select(
&self,
icon_id: u16,
xy_coords: Point,
)
fn handle_notification_icon_context_select( &self, icon_id: u16, xy_coords: Point, )
A notification icon was context-selected (e.g. right-clicked).
Source§fn handle_custom_user_message(
&self,
window: &WindowHandle,
message_id: u8,
w_param: WPARAM,
l_param: LPARAM,
)
fn handle_custom_user_message( &self, window: &WindowHandle, message_id: u8, w_param: WPARAM, l_param: LPARAM, )
A custom user message was sent.
impl Copy for EmptyWindowMessageListener
Auto Trait Implementations§
impl Freeze for EmptyWindowMessageListener
impl RefUnwindSafe for EmptyWindowMessageListener
impl Send for EmptyWindowMessageListener
impl Sync for EmptyWindowMessageListener
impl Unpin for EmptyWindowMessageListener
impl UnwindSafe for EmptyWindowMessageListener
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