pub struct WmSizeHintsCookie<'a, Conn: RequestConnection + ?Sized>(/* private fields */);
Expand description
A cookie for getting a window’s WM_SIZE_HINTS
property.
Implementations§
Source§impl<'a, Conn> WmSizeHintsCookie<'a, Conn>where
Conn: RequestConnection + ?Sized,
impl<'a, Conn> WmSizeHintsCookie<'a, Conn>where
Conn: RequestConnection + ?Sized,
Sourcepub fn reply(self) -> Result<Option<WmSizeHints>, ReplyError>
pub fn reply(self) -> Result<Option<WmSizeHints>, ReplyError>
Get the reply that the server sent.
Sourcepub fn reply_unchecked(self) -> Result<Option<WmSizeHints>, ConnectionError>
pub fn reply_unchecked(self) -> Result<Option<WmSizeHints>, ConnectionError>
Get the reply that the server sent, but have errors handled as events.
Source§impl<'a, Conn> WmSizeHintsCookie<'a, Conn>where
Conn: RequestConnection + ?Sized,
impl<'a, Conn> WmSizeHintsCookie<'a, Conn>where
Conn: RequestConnection + ?Sized,
Trait Implementations§
Auto Trait Implementations§
impl<'a, Conn> Freeze for WmSizeHintsCookie<'a, Conn>where
Conn: ?Sized,
impl<'a, Conn> RefUnwindSafe for WmSizeHintsCookie<'a, Conn>where
Conn: RefUnwindSafe + ?Sized,
impl<'a, Conn> Send for WmSizeHintsCookie<'a, Conn>
impl<'a, Conn> Sync for WmSizeHintsCookie<'a, Conn>
impl<'a, Conn> Unpin for WmSizeHintsCookie<'a, Conn>where
Conn: ?Sized,
impl<'a, Conn> UnwindSafe for WmSizeHintsCookie<'a, Conn>where
Conn: RefUnwindSafe + ?Sized,
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