Struct wayland_protocols_plasma::plasma_virtual_desktop::server::org_kde_plasma_virtual_desktop::OrgKdePlasmaVirtualDesktop
source · pub struct OrgKdePlasmaVirtualDesktop { /* private fields */ }
Expand description
org_kde_plasma_virtual_desktop
See also the Request enum for this interface.
Implementations§
source§impl OrgKdePlasmaVirtualDesktop
impl OrgKdePlasmaVirtualDesktop
sourcepub fn desktop_id(&self, desktop_id: String)
pub fn desktop_id(&self, desktop_id: String)
The desktop got an id
The format of the id is decided by the compositor implementation. A desktop id univocally identifies a virtual desktop and must be guaranteed to never exist two desktops with the same id. The format of the string id is up to the server implementation.
pub fn name(&self, name: String)
sourcepub fn activated(&self)
pub fn activated(&self)
The desktop has been activated
The desktop will be the new “current” desktop of the system. The server may support either one virtual desktop active at a time, or other combinations such as one virtual desktop active per screen. Windows associated to this virtual desktop will be shown.
sourcepub fn deactivated(&self)
pub fn deactivated(&self)
This desktop is no longer active
Windows that were associated only to this desktop will be hidden.
sourcepub fn done(&self)
pub fn done(&self)
sent all information about desktops
This event is sent after all other properties has been sent after binding to the desktop object and after any other property changes done after that. This allows changes to the org_kde_plasma_virtual_desktop properties to be seen as atomic, even if they happen via multiple events.
Trait Implementations§
source§impl Borrow<ObjectId> for OrgKdePlasmaVirtualDesktop
impl Borrow<ObjectId> for OrgKdePlasmaVirtualDesktop
source§impl Clone for OrgKdePlasmaVirtualDesktop
impl Clone for OrgKdePlasmaVirtualDesktop
source§fn clone(&self) -> OrgKdePlasmaVirtualDesktop
fn clone(&self) -> OrgKdePlasmaVirtualDesktop
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OrgKdePlasmaVirtualDesktop
impl Debug for OrgKdePlasmaVirtualDesktop
source§impl Hash for OrgKdePlasmaVirtualDesktop
impl Hash for OrgKdePlasmaVirtualDesktop
source§impl PartialEq<Weak<OrgKdePlasmaVirtualDesktop>> for OrgKdePlasmaVirtualDesktop
impl PartialEq<Weak<OrgKdePlasmaVirtualDesktop>> for OrgKdePlasmaVirtualDesktop
source§impl PartialEq for OrgKdePlasmaVirtualDesktop
impl PartialEq for OrgKdePlasmaVirtualDesktop
source§fn eq(&self, other: &OrgKdePlasmaVirtualDesktop) -> bool
fn eq(&self, other: &OrgKdePlasmaVirtualDesktop) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Resource for OrgKdePlasmaVirtualDesktop
impl Resource for OrgKdePlasmaVirtualDesktop
source§fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
source§fn handle(&self) -> &WeakHandle
fn handle(&self) -> &WeakHandle
source§fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
source§fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
source§fn parse_request(
conn: &DisplayHandle,
msg: Message<ObjectId, OwnedFd>
) -> Result<(Self, Self::Request), DispatchError>
fn parse_request( conn: &DisplayHandle, msg: Message<ObjectId, OwnedFd> ) -> Result<(Self, Self::Request), DispatchError>
source§fn write_event<'a>(
&self,
conn: &DisplayHandle,
msg: Self::Event<'a>
) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
fn write_event<'a>( &self, conn: &DisplayHandle, msg: Self::Event<'a> ) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
source§fn is_alive(&self) -> bool
fn is_alive(&self) -> bool
impl Eq for OrgKdePlasmaVirtualDesktop
Auto Trait Implementations§
impl Freeze for OrgKdePlasmaVirtualDesktop
impl !RefUnwindSafe for OrgKdePlasmaVirtualDesktop
impl Send for OrgKdePlasmaVirtualDesktop
impl Sync for OrgKdePlasmaVirtualDesktop
impl Unpin for OrgKdePlasmaVirtualDesktop
impl !UnwindSafe for OrgKdePlasmaVirtualDesktop
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§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
.§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
.§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.§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.