pub struct Client(pub u64);Expand description
A client connected to the compositor.
Tuple Fields§
§0: u64Implementations§
Source§impl Client
impl Client
Sourcepub fn does_not_exist(self) -> bool
pub fn does_not_exist(self) -> bool
Returns whether the client does not exist.
This is a shorthand for !self.exists().
Sourcepub fn is_xwayland(self) -> bool
pub fn is_xwayland(self) -> bool
Returns whether this client is XWayland.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Client
impl<'de> Deserialize<'de> for Client
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Client
impl Eq for Client
impl StructuralPartialEq for Client
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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