Enum wayland_protocols_plasma::plasma_window_management::client::org_kde_plasma_window_management::Event
source · #[non_exhaustive]pub enum Event {
ShowDesktopChanged {
state: u32,
},
Window {
id: u32,
},
StackingOrderChanged {
ids: Vec<u8>,
},
StackingOrderUuidChanged {
uuids: String,
},
WindowWithUuid {
id: u32,
uuid: String,
},
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ShowDesktopChanged
notify the client when the show desktop mode is entered/left
This event will be sent whenever the show desktop mode changes. E.g. when it is entered or left.
On binding the interface the current state is sent.
Window
notify the client that a window was mapped
This event will be sent immediately after a window is mapped.
StackingOrderChanged
notify the client when stacking order changed
This event will be sent when stacking order changed and on bind
Only available since version 11 of the interface
StackingOrderUuidChanged
notify the client when stacking order changed
This event will be sent when stacking order changed and on bind
Only available since version 12 of the interface
WindowWithUuid
notify the client that a window was mapped
This event will be sent immediately after a window is mapped.
Only available since version 13 of the interface
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.