Struct x11rb::properties::WmSizeHintsCookie[][src]

pub struct WmSizeHintsCookie<'a, Conn: RequestConnection + ?Sized>(_);

A cookie for getting a window’s WM_SIZE_HINTS property.

Implementations

impl<'a, Conn: ?Sized> WmSizeHintsCookie<'a, Conn> where
    Conn: RequestConnection
[src]

pub fn new(
    conn: &'a Conn,
    window: Window,
    property: impl Into<Atom>
) -> Result<Self, ConnectionError>
[src]

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.