Struct x11rb::properties::WmSizeHintsCookie
source · pub struct WmSizeHintsCookie<'a, Conn: RequestConnection + ?Sized>(Cookie<'a, Conn, GetPropertyReply>);
Expand description
A cookie for getting a window’s WM_SIZE_HINTS
property.
Tuple Fields§
§0: Cookie<'a, Conn, GetPropertyReply>
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