Struct winit::platform_impl::platform::x11::GenericEventCookie
source · struct GenericEventCookie<'a> {
xconn: &'a XConnection,
cookie: XGenericEventCookie,
}
Expand description
XEvents of type GenericEvent store their actual data in an XGenericEventCookie data structure. This is a wrapper to extract the cookie from a GenericEvent XEvent and release the cookie data once it has been processed
Fields§
§xconn: &'a XConnection
Implementations§
source§impl<'a> GenericEventCookie<'a>
impl<'a> GenericEventCookie<'a>
fn from_event( xconn: &XConnection, event: XEvent ) -> Option<GenericEventCookie<'_>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for GenericEventCookie<'a>
impl<'a> !Send for GenericEventCookie<'a>
impl<'a> !Sync for GenericEventCookie<'a>
impl<'a> Unpin for GenericEventCookie<'a>
impl<'a> UnwindSafe for GenericEventCookie<'a>
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