Struct x11rb::properties::WmSizeHintsCookie
source · 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: ?Sized> RefUnwindSafe for WmSizeHintsCookie<'a, Conn>where
Conn: RefUnwindSafe,
impl<'a, Conn: ?Sized> Send for WmSizeHintsCookie<'a, Conn>where
Conn: Sync,
impl<'a, Conn: ?Sized> Sync for WmSizeHintsCookie<'a, Conn>where
Conn: Sync,
impl<'a, Conn: ?Sized> Unpin for WmSizeHintsCookie<'a, Conn>
impl<'a, Conn: ?Sized> UnwindSafe for WmSizeHintsCookie<'a, Conn>where
Conn: RefUnwindSafe,
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