Struct x11rb::properties::WmSizeHintsCookie [−][src]
A cookie for getting a window’s WM_SIZE_HINTS
property.
Implementations
impl<'a, Conn: ?Sized> WmSizeHintsCookie<'a, Conn> where
Conn: RequestConnection,
[src]
Conn: RequestConnection,
pub fn new(
conn: &'a Conn,
window: Window,
property: impl Into<Atom>
) -> Result<Self, ConnectionError>
[src]
conn: &'a Conn,
window: Window,
property: impl Into<Atom>
) -> Result<Self, ConnectionError>
Send a GetProperty
request for the given property of the given window
pub fn reply(self) -> Result<WmSizeHints, ReplyError>
[src]
Get the reply that the server sent.
pub fn reply_unchecked(self) -> Result<Option<WmSizeHints>, ConnectionError>
[src]
Get the reply that the server sent, but have errors handled as events.
Trait Implementations
impl<'a, Conn: Debug + RequestConnection + ?Sized> Debug for WmSizeHintsCookie<'a, Conn>
[src]
Auto Trait Implementations
impl<'a, Conn: ?Sized> RefUnwindSafe for WmSizeHintsCookie<'a, Conn> where
Conn: RefUnwindSafe,
Conn: RefUnwindSafe,
impl<'a, Conn: ?Sized> Send for WmSizeHintsCookie<'a, Conn> where
Conn: Sync,
Conn: Sync,
impl<'a, Conn: ?Sized> Sync for WmSizeHintsCookie<'a, Conn> where
Conn: Sync,
Conn: Sync,
impl<'a, Conn: ?Sized> Unpin for WmSizeHintsCookie<'a, Conn>
impl<'a, Conn: ?Sized> UnwindSafe for WmSizeHintsCookie<'a, Conn> where
Conn: RefUnwindSafe,
Conn: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,