#[non_exhaustive]pub enum DeskEv {
Close(u32),
Activate(u32),
Move(u32),
Resize(u32),
State(u32),
}Expand description
what desk_end reports
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.
Close(u32)
the user wants to close the window (close button, menu, taskbar): take it out of the list of windows (DeskState keeps its place until forget), or ask first
Activate(u32)
it became the active window
Move(u32)
the user moved it (a drag ended)
Resize(u32)
the user resized it
State(u32)
minimised, maximised, restored or snapped (DeskState::state)
Trait Implementations§
impl Copy for DeskEv
impl Eq for DeskEv
impl StructuralPartialEq for DeskEv
Auto Trait Implementations§
impl Forget for DeskEv
impl Freeze for DeskEv
impl RefUnwindSafe for DeskEv
impl Send for DeskEv
impl Sync for DeskEv
impl Unpin for DeskEv
impl UnsafeUnpin for DeskEv
impl UnwindSafe for DeskEv
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