Enum winvd::DesktopEvent
source · pub enum DesktopEvent {
DesktopCreated(Desktop),
DesktopDestroyed {
destroyed: Desktop,
fallback: Desktop,
},
DesktopChanged {
new: Desktop,
old: Desktop,
},
DesktopNameChanged(Desktop, String),
DesktopWallpaperChanged(Desktop, String),
DesktopMoved {
desktop: Desktop,
old_index: i64,
new_index: i64,
},
WindowChanged(HWND),
}
Variants§
DesktopCreated(Desktop)
DesktopDestroyed
DesktopChanged
DesktopNameChanged(Desktop, String)
DesktopWallpaperChanged(Desktop, String)
DesktopMoved
WindowChanged(HWND)
Trait Implementations§
source§impl Clone for DesktopEvent
impl Clone for DesktopEvent
source§fn clone(&self) -> DesktopEvent
fn clone(&self) -> DesktopEvent
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 DesktopEvent
impl Debug for DesktopEvent
source§impl PartialEq for DesktopEvent
impl PartialEq for DesktopEvent
source§fn eq(&self, other: &DesktopEvent) -> bool
fn eq(&self, other: &DesktopEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DesktopEvent
impl StructuralEq for DesktopEvent
impl StructuralPartialEq for DesktopEvent
Auto Trait Implementations§
impl RefUnwindSafe for DesktopEvent
impl Send for DesktopEvent
impl Sync for DesktopEvent
impl Unpin for DesktopEvent
impl UnwindSafe for DesktopEvent
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