Struct wayland_protocols_plasma::plasma_virtual_desktop::server::org_kde_plasma_virtual_desktop_management::OrgKdePlasmaVirtualDesktopManagement
source · pub struct OrgKdePlasmaVirtualDesktopManagement { /* private fields */ }
Expand description
org_kde_plasma_virtual_desktop_management
See also the Request enum for this interface.
Implementations§
source§impl OrgKdePlasmaVirtualDesktopManagement
impl OrgKdePlasmaVirtualDesktopManagement
sourcepub fn desktop_created(&self, desktop_id: String, position: u32)
pub fn desktop_created(&self, desktop_id: String, position: u32)
Emitted when a new desktop has been created
sourcepub fn desktop_removed(&self, desktop_id: String)
pub fn desktop_removed(&self, desktop_id: String)
Emitted when a desktop has been removed
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 manager object and after any other property changes done after that. This allows changes to the org_kde_plasma_virtual_desktop_management properties to be seen as atomic, even if they happen via multiple events.
pub fn rows(&self, rows: u32)
Trait Implementations§
source§impl Clone for OrgKdePlasmaVirtualDesktopManagement
impl Clone for OrgKdePlasmaVirtualDesktopManagement
source§fn clone(&self) -> OrgKdePlasmaVirtualDesktopManagement
fn clone(&self) -> OrgKdePlasmaVirtualDesktopManagement
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 PartialEq<Weak<OrgKdePlasmaVirtualDesktopManagement>> for OrgKdePlasmaVirtualDesktopManagement
impl PartialEq<Weak<OrgKdePlasmaVirtualDesktopManagement>> for OrgKdePlasmaVirtualDesktopManagement
source§impl PartialEq for OrgKdePlasmaVirtualDesktopManagement
impl PartialEq for OrgKdePlasmaVirtualDesktopManagement
source§fn eq(&self, other: &OrgKdePlasmaVirtualDesktopManagement) -> bool
fn eq(&self, other: &OrgKdePlasmaVirtualDesktopManagement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Resource for OrgKdePlasmaVirtualDesktopManagement
impl Resource for OrgKdePlasmaVirtualDesktopManagement
source§fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
Access the raw data associated with this object. Read more
source§fn handle(&self) -> &WeakHandle
fn handle(&self) -> &WeakHandle
Access the backend handle associated with this object
source§fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
Create an object resource from its ID Read more
source§fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
Send an event to this object
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>
Parse a event for this object Read more
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>
Serialize an event for this object Read more
source§fn is_alive(&self) -> bool
fn is_alive(&self) -> bool
Checks if the Wayland object associated with this proxy is still alive
impl Eq for OrgKdePlasmaVirtualDesktopManagement
Auto Trait Implementations§
impl Freeze for OrgKdePlasmaVirtualDesktopManagement
impl !RefUnwindSafe for OrgKdePlasmaVirtualDesktopManagement
impl Send for OrgKdePlasmaVirtualDesktopManagement
impl Sync for OrgKdePlasmaVirtualDesktopManagement
impl Unpin for OrgKdePlasmaVirtualDesktopManagement
impl !UnwindSafe for OrgKdePlasmaVirtualDesktopManagement
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
§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>
Convert
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>
Convert
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)
Convert
&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)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.