pub struct ExtTransientSeatV1 { /* private fields */ }
staging
and server
only.Expand description
transient seat handle
When the transient seat handle is destroyed, the seat itself will also be destroyed.
See also the Request enum for this interface.
Implementations§
source§impl ExtTransientSeatV1
impl ExtTransientSeatV1
sourcepub fn ready(&self, global_name: u32)
pub fn ready(&self, global_name: u32)
transient seat is ready
This event advertises the global name for the wl_seat to be used with wl_registry_bind.
It is sent exactly once, immediately after the transient seat is created and the new “wl_seat” global is advertised, if and only if the creation of the transient seat was allowed.
sourcepub fn denied(&self)
pub fn denied(&self)
transient seat creation denied
The event informs the client that the compositor denied its request to create a transient seat.
It is sent exactly once, immediately after the transient seat object is created, if and only if the creation of the transient seat was denied.
After receiving this event, the client should destroy the object.
Trait Implementations§
source§impl Borrow<ObjectId> for ExtTransientSeatV1
impl Borrow<ObjectId> for ExtTransientSeatV1
source§impl Clone for ExtTransientSeatV1
impl Clone for ExtTransientSeatV1
source§fn clone(&self) -> ExtTransientSeatV1
fn clone(&self) -> ExtTransientSeatV1
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExtTransientSeatV1
impl Debug for ExtTransientSeatV1
source§impl Hash for ExtTransientSeatV1
impl Hash for ExtTransientSeatV1
source§impl PartialEq<Weak<ExtTransientSeatV1>> for ExtTransientSeatV1
impl PartialEq<Weak<ExtTransientSeatV1>> for ExtTransientSeatV1
source§impl PartialEq for ExtTransientSeatV1
impl PartialEq for ExtTransientSeatV1
source§impl Resource for ExtTransientSeatV1
impl Resource for ExtTransientSeatV1
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 ExtTransientSeatV1
Auto Trait Implementations§
impl Freeze for ExtTransientSeatV1
impl !RefUnwindSafe for ExtTransientSeatV1
impl Send for ExtTransientSeatV1
impl Sync for ExtTransientSeatV1
impl Unpin for ExtTransientSeatV1
impl !UnwindSafe for ExtTransientSeatV1
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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.