#[repr(C)]
pub union XEvent {
Show 44 fields
pub type_: c_int,
pub any: XAnyEvent,
pub button: XButtonEvent,
pub circulate: XCirculateEvent,
pub circulate_request: XCirculateRequestEvent,
pub client_message: XClientMessageEvent,
pub colormap: XColormapEvent,
pub configure: XConfigureEvent,
pub configure_request: XConfigureRequestEvent,
pub create_window: XCreateWindowEvent,
pub crossing: XCrossingEvent,
pub destroy_window: XDestroyWindowEvent,
pub error: XErrorEvent,
pub expose: XExposeEvent,
pub focus_change: XFocusChangeEvent,
pub generic_event_cookie: XGenericEventCookie,
pub graphics_expose: XGraphicsExposeEvent,
pub gravity: XGravityEvent,
pub key: XKeyEvent,
pub keymap: XKeymapEvent,
pub map: XMapEvent,
pub mapping: XMappingEvent,
pub map_request: XMapRequestEvent,
pub motion: XMotionEvent,
pub no_expose: XNoExposeEvent,
pub property: XPropertyEvent,
pub reparent: XReparentEvent,
pub resize_request: XResizeRequestEvent,
pub selection_clear: XSelectionClearEvent,
pub selection: XSelectionEvent,
pub selection_request: XSelectionRequestEvent,
pub unmap: XUnmapEvent,
pub visibility: XVisibilityEvent,
pub pad: [c_long; 24],
pub xf86vm_notify: XF86VidModeNotifyEvent,
pub xrr_screen_change_notify: XRRScreenChangeNotifyEvent,
pub xrr_notify: XRRNotifyEvent,
pub xrr_output_change_notify: XRROutputChangeNotifyEvent,
pub xrr_crtc_change_notify: XRRCrtcChangeNotifyEvent,
pub xrr_output_property_notify: XRROutputPropertyNotifyEvent,
pub xrr_provider_change_notify: XRRProviderChangeNotifyEvent,
pub xrr_provider_property_notify: XRRProviderPropertyNotifyEvent,
pub xrr_resource_change_notify: XRRResourceChangeNotifyEvent,
pub xss_notify: XScreenSaverNotifyEvent,
}
Fields§
§type_: c_int
§any: XAnyEvent
§circulate: XCirculateEvent
§circulate_request: XCirculateRequestEvent
§client_message: XClientMessageEvent
§colormap: XColormapEvent
§configure: XConfigureEvent
§configure_request: XConfigureRequestEvent
§create_window: XCreateWindowEvent
§crossing: XCrossingEvent
§destroy_window: XDestroyWindowEvent
§error: XErrorEvent
§expose: XExposeEvent
§focus_change: XFocusChangeEvent
§graphics_expose: XGraphicsExposeEvent
§gravity: XGravityEvent
§key: XKeyEvent
§keymap: XKeymapEvent
§map: XMapEvent
§mapping: XMappingEvent
§map_request: XMapRequestEvent
§motion: XMotionEvent
§no_expose: XNoExposeEvent
§property: XPropertyEvent
§reparent: XReparentEvent
§resize_request: XResizeRequestEvent
§selection_clear: XSelectionClearEvent
§selection: XSelectionEvent
§selection_request: XSelectionRequestEvent
§unmap: XUnmapEvent
§visibility: XVisibilityEvent
§pad: [c_long; 24]
§xf86vm_notify: XF86VidModeNotifyEvent
§xrr_screen_change_notify: XRRScreenChangeNotifyEvent
§xrr_notify: XRRNotifyEvent
§xrr_output_change_notify: XRROutputChangeNotifyEvent
§xrr_crtc_change_notify: XRRCrtcChangeNotifyEvent
§xrr_output_property_notify: XRROutputPropertyNotifyEvent
§xrr_provider_change_notify: XRRProviderChangeNotifyEvent
§xrr_provider_property_notify: XRRProviderPropertyNotifyEvent
§xrr_resource_change_notify: XRRResourceChangeNotifyEvent
§xss_notify: XScreenSaverNotifyEvent
Implementations§
source§impl XEvent
impl XEvent
sourcepub fn get_type(&self) -> c_int
pub fn get_type(&self) -> c_int
Examples found in repository?
examples/hello-world-dl.rs (line 78)
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
fn main() {
unsafe {
// Load Xlib library.
let xlib = xlib::Xlib::open().unwrap();
// Open display connection.
let display = (xlib.XOpenDisplay)(ptr::null());
if display.is_null() {
panic!("XOpenDisplay failed");
}
// Create window.
let screen = (xlib.XDefaultScreen)(display);
let root = (xlib.XRootWindow)(display, screen);
let mut attributes: xlib::XSetWindowAttributes = mem::MaybeUninit::uninit().assume_init();
attributes.background_pixel = (xlib.XWhitePixel)(display, screen);
let window = (xlib.XCreateWindow)(
display,
root,
0,
0,
400,
300,
0,
0,
xlib::InputOutput as c_uint,
ptr::null_mut(),
xlib::CWBackPixel,
&mut attributes,
);
// Set window title.
let title_str = CString::new("hello-world").unwrap();
(xlib.XStoreName)(display, window, title_str.as_ptr() as *mut c_char);
// Hook close requests.
let wm_protocols_str = CString::new("WM_PROTOCOLS").unwrap();
let wm_delete_window_str = CString::new("WM_DELETE_WINDOW").unwrap();
let wm_protocols = (xlib.XInternAtom)(display, wm_protocols_str.as_ptr(), xlib::False);
let wm_delete_window =
(xlib.XInternAtom)(display, wm_delete_window_str.as_ptr(), xlib::False);
let mut protocols = [wm_delete_window];
(xlib.XSetWMProtocols)(
display,
window,
protocols.as_mut_ptr(),
protocols.len() as c_int,
);
// Show window.
(xlib.XMapWindow)(display, window);
// Main loop.
let mut event: xlib::XEvent = mem::MaybeUninit::uninit().assume_init();
loop {
(xlib.XNextEvent)(display, &mut event);
match event.get_type() {
xlib::ClientMessage => {
let xclient = xlib::XClientMessageEvent::from(event);
if xclient.message_type == wm_protocols && xclient.format == 32 {
let protocol = xclient.data.get_long(0) as xlib::Atom;
if protocol == wm_delete_window {
break;
}
}
}
_ => (),
}
}
// Shut down.
(xlib.XCloseDisplay)(display);
}
}
Trait Implementations§
source§impl AsMut<XButtonEvent> for XEvent
impl AsMut<XButtonEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XButtonEvent
fn as_mut(&mut self) -> &mut XButtonEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XCirculateEvent> for XEvent
impl AsMut<XCirculateEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XCirculateEvent
fn as_mut(&mut self) -> &mut XCirculateEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XCirculateRequestEvent> for XEvent
impl AsMut<XCirculateRequestEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XCirculateRequestEvent
fn as_mut(&mut self) -> &mut XCirculateRequestEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XClientMessageEvent> for XEvent
impl AsMut<XClientMessageEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XClientMessageEvent
fn as_mut(&mut self) -> &mut XClientMessageEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XColormapEvent> for XEvent
impl AsMut<XColormapEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XColormapEvent
fn as_mut(&mut self) -> &mut XColormapEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XConfigureEvent> for XEvent
impl AsMut<XConfigureEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XConfigureEvent
fn as_mut(&mut self) -> &mut XConfigureEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XConfigureRequestEvent> for XEvent
impl AsMut<XConfigureRequestEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XConfigureRequestEvent
fn as_mut(&mut self) -> &mut XConfigureRequestEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XCreateWindowEvent> for XEvent
impl AsMut<XCreateWindowEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XCreateWindowEvent
fn as_mut(&mut self) -> &mut XCreateWindowEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XCrossingEvent> for XEvent
impl AsMut<XCrossingEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XCrossingEvent
fn as_mut(&mut self) -> &mut XCrossingEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XDestroyWindowEvent> for XEvent
impl AsMut<XDestroyWindowEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XDestroyWindowEvent
fn as_mut(&mut self) -> &mut XDestroyWindowEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XErrorEvent> for XEvent
impl AsMut<XErrorEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XErrorEvent
fn as_mut(&mut self) -> &mut XErrorEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XExposeEvent> for XEvent
impl AsMut<XExposeEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XExposeEvent
fn as_mut(&mut self) -> &mut XExposeEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XF86VidModeNotifyEvent> for XEvent
impl AsMut<XF86VidModeNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XF86VidModeNotifyEvent
fn as_mut(&mut self) -> &mut XF86VidModeNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XFocusChangeEvent> for XEvent
impl AsMut<XFocusChangeEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XFocusChangeEvent
fn as_mut(&mut self) -> &mut XFocusChangeEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XGenericEventCookie> for XEvent
impl AsMut<XGenericEventCookie> for XEvent
source§fn as_mut(&mut self) -> &mut XGenericEventCookie
fn as_mut(&mut self) -> &mut XGenericEventCookie
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XGraphicsExposeEvent> for XEvent
impl AsMut<XGraphicsExposeEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XGraphicsExposeEvent
fn as_mut(&mut self) -> &mut XGraphicsExposeEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XGravityEvent> for XEvent
impl AsMut<XGravityEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XGravityEvent
fn as_mut(&mut self) -> &mut XGravityEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XKeymapEvent> for XEvent
impl AsMut<XKeymapEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XKeymapEvent
fn as_mut(&mut self) -> &mut XKeymapEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XMapRequestEvent> for XEvent
impl AsMut<XMapRequestEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XMapRequestEvent
fn as_mut(&mut self) -> &mut XMapRequestEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XMappingEvent> for XEvent
impl AsMut<XMappingEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XMappingEvent
fn as_mut(&mut self) -> &mut XMappingEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XMotionEvent> for XEvent
impl AsMut<XMotionEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XMotionEvent
fn as_mut(&mut self) -> &mut XMotionEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XNoExposeEvent> for XEvent
impl AsMut<XNoExposeEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XNoExposeEvent
fn as_mut(&mut self) -> &mut XNoExposeEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XPropertyEvent> for XEvent
impl AsMut<XPropertyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XPropertyEvent
fn as_mut(&mut self) -> &mut XPropertyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRRCrtcChangeNotifyEvent> for XEvent
impl AsMut<XRRCrtcChangeNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRRCrtcChangeNotifyEvent
fn as_mut(&mut self) -> &mut XRRCrtcChangeNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRRNotifyEvent> for XEvent
impl AsMut<XRRNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRRNotifyEvent
fn as_mut(&mut self) -> &mut XRRNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRROutputChangeNotifyEvent> for XEvent
impl AsMut<XRROutputChangeNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRROutputChangeNotifyEvent
fn as_mut(&mut self) -> &mut XRROutputChangeNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRROutputPropertyNotifyEvent> for XEvent
impl AsMut<XRROutputPropertyNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRROutputPropertyNotifyEvent
fn as_mut(&mut self) -> &mut XRROutputPropertyNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRRProviderChangeNotifyEvent> for XEvent
impl AsMut<XRRProviderChangeNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRRProviderChangeNotifyEvent
fn as_mut(&mut self) -> &mut XRRProviderChangeNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRRProviderPropertyNotifyEvent> for XEvent
impl AsMut<XRRProviderPropertyNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRRProviderPropertyNotifyEvent
fn as_mut(&mut self) -> &mut XRRProviderPropertyNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRRResourceChangeNotifyEvent> for XEvent
impl AsMut<XRRResourceChangeNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRRResourceChangeNotifyEvent
fn as_mut(&mut self) -> &mut XRRResourceChangeNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XRRScreenChangeNotifyEvent> for XEvent
impl AsMut<XRRScreenChangeNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XRRScreenChangeNotifyEvent
fn as_mut(&mut self) -> &mut XRRScreenChangeNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XReparentEvent> for XEvent
impl AsMut<XReparentEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XReparentEvent
fn as_mut(&mut self) -> &mut XReparentEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XResizeRequestEvent> for XEvent
impl AsMut<XResizeRequestEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XResizeRequestEvent
fn as_mut(&mut self) -> &mut XResizeRequestEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XScreenSaverNotifyEvent> for XEvent
impl AsMut<XScreenSaverNotifyEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XScreenSaverNotifyEvent
fn as_mut(&mut self) -> &mut XScreenSaverNotifyEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XSelectionClearEvent> for XEvent
impl AsMut<XSelectionClearEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XSelectionClearEvent
fn as_mut(&mut self) -> &mut XSelectionClearEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XSelectionEvent> for XEvent
impl AsMut<XSelectionEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XSelectionEvent
fn as_mut(&mut self) -> &mut XSelectionEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XSelectionRequestEvent> for XEvent
impl AsMut<XSelectionRequestEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XSelectionRequestEvent
fn as_mut(&mut self) -> &mut XSelectionRequestEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XUnmapEvent> for XEvent
impl AsMut<XUnmapEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XUnmapEvent
fn as_mut(&mut self) -> &mut XUnmapEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<XVisibilityEvent> for XEvent
impl AsMut<XVisibilityEvent> for XEvent
source§fn as_mut(&mut self) -> &mut XVisibilityEvent
fn as_mut(&mut self) -> &mut XVisibilityEvent
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<XButtonEvent> for XEvent
impl AsRef<XButtonEvent> for XEvent
source§fn as_ref(&self) -> &XButtonEvent
fn as_ref(&self) -> &XButtonEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XCirculateEvent> for XEvent
impl AsRef<XCirculateEvent> for XEvent
source§fn as_ref(&self) -> &XCirculateEvent
fn as_ref(&self) -> &XCirculateEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XCirculateRequestEvent> for XEvent
impl AsRef<XCirculateRequestEvent> for XEvent
source§fn as_ref(&self) -> &XCirculateRequestEvent
fn as_ref(&self) -> &XCirculateRequestEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XClientMessageEvent> for XEvent
impl AsRef<XClientMessageEvent> for XEvent
source§fn as_ref(&self) -> &XClientMessageEvent
fn as_ref(&self) -> &XClientMessageEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XColormapEvent> for XEvent
impl AsRef<XColormapEvent> for XEvent
source§fn as_ref(&self) -> &XColormapEvent
fn as_ref(&self) -> &XColormapEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XConfigureEvent> for XEvent
impl AsRef<XConfigureEvent> for XEvent
source§fn as_ref(&self) -> &XConfigureEvent
fn as_ref(&self) -> &XConfigureEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XConfigureRequestEvent> for XEvent
impl AsRef<XConfigureRequestEvent> for XEvent
source§fn as_ref(&self) -> &XConfigureRequestEvent
fn as_ref(&self) -> &XConfigureRequestEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XCreateWindowEvent> for XEvent
impl AsRef<XCreateWindowEvent> for XEvent
source§fn as_ref(&self) -> &XCreateWindowEvent
fn as_ref(&self) -> &XCreateWindowEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XCrossingEvent> for XEvent
impl AsRef<XCrossingEvent> for XEvent
source§fn as_ref(&self) -> &XCrossingEvent
fn as_ref(&self) -> &XCrossingEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XDestroyWindowEvent> for XEvent
impl AsRef<XDestroyWindowEvent> for XEvent
source§fn as_ref(&self) -> &XDestroyWindowEvent
fn as_ref(&self) -> &XDestroyWindowEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XErrorEvent> for XEvent
impl AsRef<XErrorEvent> for XEvent
source§fn as_ref(&self) -> &XErrorEvent
fn as_ref(&self) -> &XErrorEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XExposeEvent> for XEvent
impl AsRef<XExposeEvent> for XEvent
source§fn as_ref(&self) -> &XExposeEvent
fn as_ref(&self) -> &XExposeEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XF86VidModeNotifyEvent> for XEvent
impl AsRef<XF86VidModeNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XF86VidModeNotifyEvent
fn as_ref(&self) -> &XF86VidModeNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XFocusChangeEvent> for XEvent
impl AsRef<XFocusChangeEvent> for XEvent
source§fn as_ref(&self) -> &XFocusChangeEvent
fn as_ref(&self) -> &XFocusChangeEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XGenericEventCookie> for XEvent
impl AsRef<XGenericEventCookie> for XEvent
source§fn as_ref(&self) -> &XGenericEventCookie
fn as_ref(&self) -> &XGenericEventCookie
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XGraphicsExposeEvent> for XEvent
impl AsRef<XGraphicsExposeEvent> for XEvent
source§fn as_ref(&self) -> &XGraphicsExposeEvent
fn as_ref(&self) -> &XGraphicsExposeEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XGravityEvent> for XEvent
impl AsRef<XGravityEvent> for XEvent
source§fn as_ref(&self) -> &XGravityEvent
fn as_ref(&self) -> &XGravityEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XKeymapEvent> for XEvent
impl AsRef<XKeymapEvent> for XEvent
source§fn as_ref(&self) -> &XKeymapEvent
fn as_ref(&self) -> &XKeymapEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XMapRequestEvent> for XEvent
impl AsRef<XMapRequestEvent> for XEvent
source§fn as_ref(&self) -> &XMapRequestEvent
fn as_ref(&self) -> &XMapRequestEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XMappingEvent> for XEvent
impl AsRef<XMappingEvent> for XEvent
source§fn as_ref(&self) -> &XMappingEvent
fn as_ref(&self) -> &XMappingEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XMotionEvent> for XEvent
impl AsRef<XMotionEvent> for XEvent
source§fn as_ref(&self) -> &XMotionEvent
fn as_ref(&self) -> &XMotionEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XNoExposeEvent> for XEvent
impl AsRef<XNoExposeEvent> for XEvent
source§fn as_ref(&self) -> &XNoExposeEvent
fn as_ref(&self) -> &XNoExposeEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XPropertyEvent> for XEvent
impl AsRef<XPropertyEvent> for XEvent
source§fn as_ref(&self) -> &XPropertyEvent
fn as_ref(&self) -> &XPropertyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRRCrtcChangeNotifyEvent> for XEvent
impl AsRef<XRRCrtcChangeNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRRCrtcChangeNotifyEvent
fn as_ref(&self) -> &XRRCrtcChangeNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRRNotifyEvent> for XEvent
impl AsRef<XRRNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRRNotifyEvent
fn as_ref(&self) -> &XRRNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRROutputChangeNotifyEvent> for XEvent
impl AsRef<XRROutputChangeNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRROutputChangeNotifyEvent
fn as_ref(&self) -> &XRROutputChangeNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRROutputPropertyNotifyEvent> for XEvent
impl AsRef<XRROutputPropertyNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRROutputPropertyNotifyEvent
fn as_ref(&self) -> &XRROutputPropertyNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRRProviderChangeNotifyEvent> for XEvent
impl AsRef<XRRProviderChangeNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRRProviderChangeNotifyEvent
fn as_ref(&self) -> &XRRProviderChangeNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRRProviderPropertyNotifyEvent> for XEvent
impl AsRef<XRRProviderPropertyNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRRProviderPropertyNotifyEvent
fn as_ref(&self) -> &XRRProviderPropertyNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRRResourceChangeNotifyEvent> for XEvent
impl AsRef<XRRResourceChangeNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRRResourceChangeNotifyEvent
fn as_ref(&self) -> &XRRResourceChangeNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XRRScreenChangeNotifyEvent> for XEvent
impl AsRef<XRRScreenChangeNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XRRScreenChangeNotifyEvent
fn as_ref(&self) -> &XRRScreenChangeNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XReparentEvent> for XEvent
impl AsRef<XReparentEvent> for XEvent
source§fn as_ref(&self) -> &XReparentEvent
fn as_ref(&self) -> &XReparentEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XResizeRequestEvent> for XEvent
impl AsRef<XResizeRequestEvent> for XEvent
source§fn as_ref(&self) -> &XResizeRequestEvent
fn as_ref(&self) -> &XResizeRequestEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XScreenSaverNotifyEvent> for XEvent
impl AsRef<XScreenSaverNotifyEvent> for XEvent
source§fn as_ref(&self) -> &XScreenSaverNotifyEvent
fn as_ref(&self) -> &XScreenSaverNotifyEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XSelectionClearEvent> for XEvent
impl AsRef<XSelectionClearEvent> for XEvent
source§fn as_ref(&self) -> &XSelectionClearEvent
fn as_ref(&self) -> &XSelectionClearEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XSelectionEvent> for XEvent
impl AsRef<XSelectionEvent> for XEvent
source§fn as_ref(&self) -> &XSelectionEvent
fn as_ref(&self) -> &XSelectionEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XSelectionRequestEvent> for XEvent
impl AsRef<XSelectionRequestEvent> for XEvent
source§fn as_ref(&self) -> &XSelectionRequestEvent
fn as_ref(&self) -> &XSelectionRequestEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XUnmapEvent> for XEvent
impl AsRef<XUnmapEvent> for XEvent
source§fn as_ref(&self) -> &XUnmapEvent
fn as_ref(&self) -> &XUnmapEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<XVisibilityEvent> for XEvent
impl AsRef<XVisibilityEvent> for XEvent
source§fn as_ref(&self) -> &XVisibilityEvent
fn as_ref(&self) -> &XVisibilityEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<'a> From<&'a XButtonEvent> for XEvent
impl<'a> From<&'a XButtonEvent> for XEvent
source§fn from(other: &'a XButtonEvent) -> XEvent
fn from(other: &'a XButtonEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XCirculateEvent> for XEvent
impl<'a> From<&'a XCirculateEvent> for XEvent
source§fn from(other: &'a XCirculateEvent) -> XEvent
fn from(other: &'a XCirculateEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XCirculateRequestEvent> for XEvent
impl<'a> From<&'a XCirculateRequestEvent> for XEvent
source§fn from(other: &'a XCirculateRequestEvent) -> XEvent
fn from(other: &'a XCirculateRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XClientMessageEvent> for XEvent
impl<'a> From<&'a XClientMessageEvent> for XEvent
source§fn from(other: &'a XClientMessageEvent) -> XEvent
fn from(other: &'a XClientMessageEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XColormapEvent> for XEvent
impl<'a> From<&'a XColormapEvent> for XEvent
source§fn from(other: &'a XColormapEvent) -> XEvent
fn from(other: &'a XColormapEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XConfigureEvent> for XEvent
impl<'a> From<&'a XConfigureEvent> for XEvent
source§fn from(other: &'a XConfigureEvent) -> XEvent
fn from(other: &'a XConfigureEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XConfigureRequestEvent> for XEvent
impl<'a> From<&'a XConfigureRequestEvent> for XEvent
source§fn from(other: &'a XConfigureRequestEvent) -> XEvent
fn from(other: &'a XConfigureRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XCreateWindowEvent> for XEvent
impl<'a> From<&'a XCreateWindowEvent> for XEvent
source§fn from(other: &'a XCreateWindowEvent) -> XEvent
fn from(other: &'a XCreateWindowEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XCrossingEvent> for XEvent
impl<'a> From<&'a XCrossingEvent> for XEvent
source§fn from(other: &'a XCrossingEvent) -> XEvent
fn from(other: &'a XCrossingEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XDestroyWindowEvent> for XEvent
impl<'a> From<&'a XDestroyWindowEvent> for XEvent
source§fn from(other: &'a XDestroyWindowEvent) -> XEvent
fn from(other: &'a XDestroyWindowEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XErrorEvent> for XEvent
impl<'a> From<&'a XErrorEvent> for XEvent
source§fn from(other: &'a XErrorEvent) -> XEvent
fn from(other: &'a XErrorEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XButtonEvent
impl<'a> From<&'a XEvent> for XButtonEvent
source§fn from(xevent: &'a XEvent) -> XButtonEvent
fn from(xevent: &'a XEvent) -> XButtonEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XCirculateEvent
impl<'a> From<&'a XEvent> for XCirculateEvent
source§fn from(xevent: &'a XEvent) -> XCirculateEvent
fn from(xevent: &'a XEvent) -> XCirculateEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XCirculateRequestEvent
impl<'a> From<&'a XEvent> for XCirculateRequestEvent
source§fn from(xevent: &'a XEvent) -> XCirculateRequestEvent
fn from(xevent: &'a XEvent) -> XCirculateRequestEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XClientMessageEvent
impl<'a> From<&'a XEvent> for XClientMessageEvent
source§fn from(xevent: &'a XEvent) -> XClientMessageEvent
fn from(xevent: &'a XEvent) -> XClientMessageEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XColormapEvent
impl<'a> From<&'a XEvent> for XColormapEvent
source§fn from(xevent: &'a XEvent) -> XColormapEvent
fn from(xevent: &'a XEvent) -> XColormapEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XConfigureEvent
impl<'a> From<&'a XEvent> for XConfigureEvent
source§fn from(xevent: &'a XEvent) -> XConfigureEvent
fn from(xevent: &'a XEvent) -> XConfigureEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XConfigureRequestEvent
impl<'a> From<&'a XEvent> for XConfigureRequestEvent
source§fn from(xevent: &'a XEvent) -> XConfigureRequestEvent
fn from(xevent: &'a XEvent) -> XConfigureRequestEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XCreateWindowEvent
impl<'a> From<&'a XEvent> for XCreateWindowEvent
source§fn from(xevent: &'a XEvent) -> XCreateWindowEvent
fn from(xevent: &'a XEvent) -> XCreateWindowEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XCrossingEvent
impl<'a> From<&'a XEvent> for XCrossingEvent
source§fn from(xevent: &'a XEvent) -> XCrossingEvent
fn from(xevent: &'a XEvent) -> XCrossingEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XDestroyWindowEvent
impl<'a> From<&'a XEvent> for XDestroyWindowEvent
source§fn from(xevent: &'a XEvent) -> XDestroyWindowEvent
fn from(xevent: &'a XEvent) -> XDestroyWindowEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XErrorEvent
impl<'a> From<&'a XEvent> for XErrorEvent
source§fn from(xevent: &'a XEvent) -> XErrorEvent
fn from(xevent: &'a XEvent) -> XErrorEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XExposeEvent
impl<'a> From<&'a XEvent> for XExposeEvent
source§fn from(xevent: &'a XEvent) -> XExposeEvent
fn from(xevent: &'a XEvent) -> XExposeEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XF86VidModeNotifyEvent
impl<'a> From<&'a XEvent> for XF86VidModeNotifyEvent
source§fn from(xevent: &'a XEvent) -> XF86VidModeNotifyEvent
fn from(xevent: &'a XEvent) -> XF86VidModeNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XFocusChangeEvent
impl<'a> From<&'a XEvent> for XFocusChangeEvent
source§fn from(xevent: &'a XEvent) -> XFocusChangeEvent
fn from(xevent: &'a XEvent) -> XFocusChangeEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XGenericEventCookie
impl<'a> From<&'a XEvent> for XGenericEventCookie
source§fn from(xevent: &'a XEvent) -> XGenericEventCookie
fn from(xevent: &'a XEvent) -> XGenericEventCookie
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XGraphicsExposeEvent
impl<'a> From<&'a XEvent> for XGraphicsExposeEvent
source§fn from(xevent: &'a XEvent) -> XGraphicsExposeEvent
fn from(xevent: &'a XEvent) -> XGraphicsExposeEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XGravityEvent
impl<'a> From<&'a XEvent> for XGravityEvent
source§fn from(xevent: &'a XEvent) -> XGravityEvent
fn from(xevent: &'a XEvent) -> XGravityEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XKeymapEvent
impl<'a> From<&'a XEvent> for XKeymapEvent
source§fn from(xevent: &'a XEvent) -> XKeymapEvent
fn from(xevent: &'a XEvent) -> XKeymapEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XMapRequestEvent
impl<'a> From<&'a XEvent> for XMapRequestEvent
source§fn from(xevent: &'a XEvent) -> XMapRequestEvent
fn from(xevent: &'a XEvent) -> XMapRequestEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XMappingEvent
impl<'a> From<&'a XEvent> for XMappingEvent
source§fn from(xevent: &'a XEvent) -> XMappingEvent
fn from(xevent: &'a XEvent) -> XMappingEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XMotionEvent
impl<'a> From<&'a XEvent> for XMotionEvent
source§fn from(xevent: &'a XEvent) -> XMotionEvent
fn from(xevent: &'a XEvent) -> XMotionEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XNoExposeEvent
impl<'a> From<&'a XEvent> for XNoExposeEvent
source§fn from(xevent: &'a XEvent) -> XNoExposeEvent
fn from(xevent: &'a XEvent) -> XNoExposeEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XPropertyEvent
impl<'a> From<&'a XEvent> for XPropertyEvent
source§fn from(xevent: &'a XEvent) -> XPropertyEvent
fn from(xevent: &'a XEvent) -> XPropertyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRRCrtcChangeNotifyEvent
impl<'a> From<&'a XEvent> for XRRCrtcChangeNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRRCrtcChangeNotifyEvent
fn from(xevent: &'a XEvent) -> XRRCrtcChangeNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRRNotifyEvent
impl<'a> From<&'a XEvent> for XRRNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRRNotifyEvent
fn from(xevent: &'a XEvent) -> XRRNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRROutputChangeNotifyEvent
impl<'a> From<&'a XEvent> for XRROutputChangeNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRROutputChangeNotifyEvent
fn from(xevent: &'a XEvent) -> XRROutputChangeNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRROutputPropertyNotifyEvent
impl<'a> From<&'a XEvent> for XRROutputPropertyNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRROutputPropertyNotifyEvent
fn from(xevent: &'a XEvent) -> XRROutputPropertyNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRRProviderChangeNotifyEvent
impl<'a> From<&'a XEvent> for XRRProviderChangeNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRRProviderChangeNotifyEvent
fn from(xevent: &'a XEvent) -> XRRProviderChangeNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRRProviderPropertyNotifyEvent
impl<'a> From<&'a XEvent> for XRRProviderPropertyNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRRProviderPropertyNotifyEvent
fn from(xevent: &'a XEvent) -> XRRProviderPropertyNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRRResourceChangeNotifyEvent
impl<'a> From<&'a XEvent> for XRRResourceChangeNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRRResourceChangeNotifyEvent
fn from(xevent: &'a XEvent) -> XRRResourceChangeNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XRRScreenChangeNotifyEvent
impl<'a> From<&'a XEvent> for XRRScreenChangeNotifyEvent
source§fn from(xevent: &'a XEvent) -> XRRScreenChangeNotifyEvent
fn from(xevent: &'a XEvent) -> XRRScreenChangeNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XReparentEvent
impl<'a> From<&'a XEvent> for XReparentEvent
source§fn from(xevent: &'a XEvent) -> XReparentEvent
fn from(xevent: &'a XEvent) -> XReparentEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XResizeRequestEvent
impl<'a> From<&'a XEvent> for XResizeRequestEvent
source§fn from(xevent: &'a XEvent) -> XResizeRequestEvent
fn from(xevent: &'a XEvent) -> XResizeRequestEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XScreenSaverNotifyEvent
impl<'a> From<&'a XEvent> for XScreenSaverNotifyEvent
source§fn from(xevent: &'a XEvent) -> XScreenSaverNotifyEvent
fn from(xevent: &'a XEvent) -> XScreenSaverNotifyEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XSelectionClearEvent
impl<'a> From<&'a XEvent> for XSelectionClearEvent
source§fn from(xevent: &'a XEvent) -> XSelectionClearEvent
fn from(xevent: &'a XEvent) -> XSelectionClearEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XSelectionEvent
impl<'a> From<&'a XEvent> for XSelectionEvent
source§fn from(xevent: &'a XEvent) -> XSelectionEvent
fn from(xevent: &'a XEvent) -> XSelectionEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XSelectionRequestEvent
impl<'a> From<&'a XEvent> for XSelectionRequestEvent
source§fn from(xevent: &'a XEvent) -> XSelectionRequestEvent
fn from(xevent: &'a XEvent) -> XSelectionRequestEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XUnmapEvent
impl<'a> From<&'a XEvent> for XUnmapEvent
source§fn from(xevent: &'a XEvent) -> XUnmapEvent
fn from(xevent: &'a XEvent) -> XUnmapEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XEvent> for XVisibilityEvent
impl<'a> From<&'a XEvent> for XVisibilityEvent
source§fn from(xevent: &'a XEvent) -> XVisibilityEvent
fn from(xevent: &'a XEvent) -> XVisibilityEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XExposeEvent> for XEvent
impl<'a> From<&'a XExposeEvent> for XEvent
source§fn from(other: &'a XExposeEvent) -> XEvent
fn from(other: &'a XExposeEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XF86VidModeNotifyEvent> for XEvent
impl<'a> From<&'a XF86VidModeNotifyEvent> for XEvent
source§fn from(other: &'a XF86VidModeNotifyEvent) -> XEvent
fn from(other: &'a XF86VidModeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XFocusChangeEvent> for XEvent
impl<'a> From<&'a XFocusChangeEvent> for XEvent
source§fn from(other: &'a XFocusChangeEvent) -> XEvent
fn from(other: &'a XFocusChangeEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XGenericEventCookie> for XEvent
impl<'a> From<&'a XGenericEventCookie> for XEvent
source§fn from(other: &'a XGenericEventCookie) -> XEvent
fn from(other: &'a XGenericEventCookie) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XGraphicsExposeEvent> for XEvent
impl<'a> From<&'a XGraphicsExposeEvent> for XEvent
source§fn from(other: &'a XGraphicsExposeEvent) -> XEvent
fn from(other: &'a XGraphicsExposeEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XGravityEvent> for XEvent
impl<'a> From<&'a XGravityEvent> for XEvent
source§fn from(other: &'a XGravityEvent) -> XEvent
fn from(other: &'a XGravityEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XKeymapEvent> for XEvent
impl<'a> From<&'a XKeymapEvent> for XEvent
source§fn from(other: &'a XKeymapEvent) -> XEvent
fn from(other: &'a XKeymapEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XMapRequestEvent> for XEvent
impl<'a> From<&'a XMapRequestEvent> for XEvent
source§fn from(other: &'a XMapRequestEvent) -> XEvent
fn from(other: &'a XMapRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XMappingEvent> for XEvent
impl<'a> From<&'a XMappingEvent> for XEvent
source§fn from(other: &'a XMappingEvent) -> XEvent
fn from(other: &'a XMappingEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XMotionEvent> for XEvent
impl<'a> From<&'a XMotionEvent> for XEvent
source§fn from(other: &'a XMotionEvent) -> XEvent
fn from(other: &'a XMotionEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XNoExposeEvent> for XEvent
impl<'a> From<&'a XNoExposeEvent> for XEvent
source§fn from(other: &'a XNoExposeEvent) -> XEvent
fn from(other: &'a XNoExposeEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XPropertyEvent> for XEvent
impl<'a> From<&'a XPropertyEvent> for XEvent
source§fn from(other: &'a XPropertyEvent) -> XEvent
fn from(other: &'a XPropertyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRRCrtcChangeNotifyEvent> for XEvent
impl<'a> From<&'a XRRCrtcChangeNotifyEvent> for XEvent
source§fn from(other: &'a XRRCrtcChangeNotifyEvent) -> XEvent
fn from(other: &'a XRRCrtcChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRRNotifyEvent> for XEvent
impl<'a> From<&'a XRRNotifyEvent> for XEvent
source§fn from(other: &'a XRRNotifyEvent) -> XEvent
fn from(other: &'a XRRNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRROutputChangeNotifyEvent> for XEvent
impl<'a> From<&'a XRROutputChangeNotifyEvent> for XEvent
source§fn from(other: &'a XRROutputChangeNotifyEvent) -> XEvent
fn from(other: &'a XRROutputChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRROutputPropertyNotifyEvent> for XEvent
impl<'a> From<&'a XRROutputPropertyNotifyEvent> for XEvent
source§fn from(other: &'a XRROutputPropertyNotifyEvent) -> XEvent
fn from(other: &'a XRROutputPropertyNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRRProviderChangeNotifyEvent> for XEvent
impl<'a> From<&'a XRRProviderChangeNotifyEvent> for XEvent
source§fn from(other: &'a XRRProviderChangeNotifyEvent) -> XEvent
fn from(other: &'a XRRProviderChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRRProviderPropertyNotifyEvent> for XEvent
impl<'a> From<&'a XRRProviderPropertyNotifyEvent> for XEvent
source§fn from(other: &'a XRRProviderPropertyNotifyEvent) -> XEvent
fn from(other: &'a XRRProviderPropertyNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRRResourceChangeNotifyEvent> for XEvent
impl<'a> From<&'a XRRResourceChangeNotifyEvent> for XEvent
source§fn from(other: &'a XRRResourceChangeNotifyEvent) -> XEvent
fn from(other: &'a XRRResourceChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XRRScreenChangeNotifyEvent> for XEvent
impl<'a> From<&'a XRRScreenChangeNotifyEvent> for XEvent
source§fn from(other: &'a XRRScreenChangeNotifyEvent) -> XEvent
fn from(other: &'a XRRScreenChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XReparentEvent> for XEvent
impl<'a> From<&'a XReparentEvent> for XEvent
source§fn from(other: &'a XReparentEvent) -> XEvent
fn from(other: &'a XReparentEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XResizeRequestEvent> for XEvent
impl<'a> From<&'a XResizeRequestEvent> for XEvent
source§fn from(other: &'a XResizeRequestEvent) -> XEvent
fn from(other: &'a XResizeRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XScreenSaverNotifyEvent> for XEvent
impl<'a> From<&'a XScreenSaverNotifyEvent> for XEvent
source§fn from(other: &'a XScreenSaverNotifyEvent) -> XEvent
fn from(other: &'a XScreenSaverNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XSelectionClearEvent> for XEvent
impl<'a> From<&'a XSelectionClearEvent> for XEvent
source§fn from(other: &'a XSelectionClearEvent) -> XEvent
fn from(other: &'a XSelectionClearEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XSelectionEvent> for XEvent
impl<'a> From<&'a XSelectionEvent> for XEvent
source§fn from(other: &'a XSelectionEvent) -> XEvent
fn from(other: &'a XSelectionEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XSelectionRequestEvent> for XEvent
impl<'a> From<&'a XSelectionRequestEvent> for XEvent
source§fn from(other: &'a XSelectionRequestEvent) -> XEvent
fn from(other: &'a XSelectionRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XUnmapEvent> for XEvent
impl<'a> From<&'a XUnmapEvent> for XEvent
source§fn from(other: &'a XUnmapEvent) -> XEvent
fn from(other: &'a XUnmapEvent) -> XEvent
Converts to this type from the input type.
source§impl<'a> From<&'a XVisibilityEvent> for XEvent
impl<'a> From<&'a XVisibilityEvent> for XEvent
source§fn from(other: &'a XVisibilityEvent) -> XEvent
fn from(other: &'a XVisibilityEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XButtonEvent> for XEvent
impl From<XButtonEvent> for XEvent
source§fn from(other: XButtonEvent) -> XEvent
fn from(other: XButtonEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XCirculateEvent> for XEvent
impl From<XCirculateEvent> for XEvent
source§fn from(other: XCirculateEvent) -> XEvent
fn from(other: XCirculateEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XCirculateRequestEvent> for XEvent
impl From<XCirculateRequestEvent> for XEvent
source§fn from(other: XCirculateRequestEvent) -> XEvent
fn from(other: XCirculateRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XClientMessageEvent> for XEvent
impl From<XClientMessageEvent> for XEvent
source§fn from(other: XClientMessageEvent) -> XEvent
fn from(other: XClientMessageEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XColormapEvent> for XEvent
impl From<XColormapEvent> for XEvent
source§fn from(other: XColormapEvent) -> XEvent
fn from(other: XColormapEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XConfigureEvent> for XEvent
impl From<XConfigureEvent> for XEvent
source§fn from(other: XConfigureEvent) -> XEvent
fn from(other: XConfigureEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XConfigureRequestEvent> for XEvent
impl From<XConfigureRequestEvent> for XEvent
source§fn from(other: XConfigureRequestEvent) -> XEvent
fn from(other: XConfigureRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XCreateWindowEvent> for XEvent
impl From<XCreateWindowEvent> for XEvent
source§fn from(other: XCreateWindowEvent) -> XEvent
fn from(other: XCreateWindowEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XCrossingEvent> for XEvent
impl From<XCrossingEvent> for XEvent
source§fn from(other: XCrossingEvent) -> XEvent
fn from(other: XCrossingEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XDestroyWindowEvent> for XEvent
impl From<XDestroyWindowEvent> for XEvent
source§fn from(other: XDestroyWindowEvent) -> XEvent
fn from(other: XDestroyWindowEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XErrorEvent> for XEvent
impl From<XErrorEvent> for XEvent
source§fn from(other: XErrorEvent) -> XEvent
fn from(other: XErrorEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XEvent> for XButtonEvent
impl From<XEvent> for XButtonEvent
source§fn from(xevent: XEvent) -> XButtonEvent
fn from(xevent: XEvent) -> XButtonEvent
Converts to this type from the input type.
source§impl From<XEvent> for XCirculateEvent
impl From<XEvent> for XCirculateEvent
source§fn from(xevent: XEvent) -> XCirculateEvent
fn from(xevent: XEvent) -> XCirculateEvent
Converts to this type from the input type.
source§impl From<XEvent> for XCirculateRequestEvent
impl From<XEvent> for XCirculateRequestEvent
source§fn from(xevent: XEvent) -> XCirculateRequestEvent
fn from(xevent: XEvent) -> XCirculateRequestEvent
Converts to this type from the input type.
source§impl From<XEvent> for XClientMessageEvent
impl From<XEvent> for XClientMessageEvent
source§fn from(xevent: XEvent) -> XClientMessageEvent
fn from(xevent: XEvent) -> XClientMessageEvent
Converts to this type from the input type.
source§impl From<XEvent> for XColormapEvent
impl From<XEvent> for XColormapEvent
source§fn from(xevent: XEvent) -> XColormapEvent
fn from(xevent: XEvent) -> XColormapEvent
Converts to this type from the input type.
source§impl From<XEvent> for XConfigureEvent
impl From<XEvent> for XConfigureEvent
source§fn from(xevent: XEvent) -> XConfigureEvent
fn from(xevent: XEvent) -> XConfigureEvent
Converts to this type from the input type.
source§impl From<XEvent> for XConfigureRequestEvent
impl From<XEvent> for XConfigureRequestEvent
source§fn from(xevent: XEvent) -> XConfigureRequestEvent
fn from(xevent: XEvent) -> XConfigureRequestEvent
Converts to this type from the input type.
source§impl From<XEvent> for XCreateWindowEvent
impl From<XEvent> for XCreateWindowEvent
source§fn from(xevent: XEvent) -> XCreateWindowEvent
fn from(xevent: XEvent) -> XCreateWindowEvent
Converts to this type from the input type.
source§impl From<XEvent> for XCrossingEvent
impl From<XEvent> for XCrossingEvent
source§fn from(xevent: XEvent) -> XCrossingEvent
fn from(xevent: XEvent) -> XCrossingEvent
Converts to this type from the input type.
source§impl From<XEvent> for XDestroyWindowEvent
impl From<XEvent> for XDestroyWindowEvent
source§fn from(xevent: XEvent) -> XDestroyWindowEvent
fn from(xevent: XEvent) -> XDestroyWindowEvent
Converts to this type from the input type.
source§impl From<XEvent> for XErrorEvent
impl From<XEvent> for XErrorEvent
source§fn from(xevent: XEvent) -> XErrorEvent
fn from(xevent: XEvent) -> XErrorEvent
Converts to this type from the input type.
source§impl From<XEvent> for XExposeEvent
impl From<XEvent> for XExposeEvent
source§fn from(xevent: XEvent) -> XExposeEvent
fn from(xevent: XEvent) -> XExposeEvent
Converts to this type from the input type.
source§impl From<XEvent> for XF86VidModeNotifyEvent
impl From<XEvent> for XF86VidModeNotifyEvent
source§fn from(xevent: XEvent) -> XF86VidModeNotifyEvent
fn from(xevent: XEvent) -> XF86VidModeNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XFocusChangeEvent
impl From<XEvent> for XFocusChangeEvent
source§fn from(xevent: XEvent) -> XFocusChangeEvent
fn from(xevent: XEvent) -> XFocusChangeEvent
Converts to this type from the input type.
source§impl From<XEvent> for XGenericEventCookie
impl From<XEvent> for XGenericEventCookie
source§fn from(xevent: XEvent) -> XGenericEventCookie
fn from(xevent: XEvent) -> XGenericEventCookie
Converts to this type from the input type.
source§impl From<XEvent> for XGraphicsExposeEvent
impl From<XEvent> for XGraphicsExposeEvent
source§fn from(xevent: XEvent) -> XGraphicsExposeEvent
fn from(xevent: XEvent) -> XGraphicsExposeEvent
Converts to this type from the input type.
source§impl From<XEvent> for XGravityEvent
impl From<XEvent> for XGravityEvent
source§fn from(xevent: XEvent) -> XGravityEvent
fn from(xevent: XEvent) -> XGravityEvent
Converts to this type from the input type.
source§impl From<XEvent> for XKeymapEvent
impl From<XEvent> for XKeymapEvent
source§fn from(xevent: XEvent) -> XKeymapEvent
fn from(xevent: XEvent) -> XKeymapEvent
Converts to this type from the input type.
source§impl From<XEvent> for XMapRequestEvent
impl From<XEvent> for XMapRequestEvent
source§fn from(xevent: XEvent) -> XMapRequestEvent
fn from(xevent: XEvent) -> XMapRequestEvent
Converts to this type from the input type.
source§impl From<XEvent> for XMappingEvent
impl From<XEvent> for XMappingEvent
source§fn from(xevent: XEvent) -> XMappingEvent
fn from(xevent: XEvent) -> XMappingEvent
Converts to this type from the input type.
source§impl From<XEvent> for XMotionEvent
impl From<XEvent> for XMotionEvent
source§fn from(xevent: XEvent) -> XMotionEvent
fn from(xevent: XEvent) -> XMotionEvent
Converts to this type from the input type.
source§impl From<XEvent> for XNoExposeEvent
impl From<XEvent> for XNoExposeEvent
source§fn from(xevent: XEvent) -> XNoExposeEvent
fn from(xevent: XEvent) -> XNoExposeEvent
Converts to this type from the input type.
source§impl From<XEvent> for XPropertyEvent
impl From<XEvent> for XPropertyEvent
source§fn from(xevent: XEvent) -> XPropertyEvent
fn from(xevent: XEvent) -> XPropertyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRRCrtcChangeNotifyEvent
impl From<XEvent> for XRRCrtcChangeNotifyEvent
source§fn from(xevent: XEvent) -> XRRCrtcChangeNotifyEvent
fn from(xevent: XEvent) -> XRRCrtcChangeNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRRNotifyEvent
impl From<XEvent> for XRRNotifyEvent
source§fn from(xevent: XEvent) -> XRRNotifyEvent
fn from(xevent: XEvent) -> XRRNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRROutputChangeNotifyEvent
impl From<XEvent> for XRROutputChangeNotifyEvent
source§fn from(xevent: XEvent) -> XRROutputChangeNotifyEvent
fn from(xevent: XEvent) -> XRROutputChangeNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRROutputPropertyNotifyEvent
impl From<XEvent> for XRROutputPropertyNotifyEvent
source§fn from(xevent: XEvent) -> XRROutputPropertyNotifyEvent
fn from(xevent: XEvent) -> XRROutputPropertyNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRRProviderChangeNotifyEvent
impl From<XEvent> for XRRProviderChangeNotifyEvent
source§fn from(xevent: XEvent) -> XRRProviderChangeNotifyEvent
fn from(xevent: XEvent) -> XRRProviderChangeNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRRProviderPropertyNotifyEvent
impl From<XEvent> for XRRProviderPropertyNotifyEvent
source§fn from(xevent: XEvent) -> XRRProviderPropertyNotifyEvent
fn from(xevent: XEvent) -> XRRProviderPropertyNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRRResourceChangeNotifyEvent
impl From<XEvent> for XRRResourceChangeNotifyEvent
source§fn from(xevent: XEvent) -> XRRResourceChangeNotifyEvent
fn from(xevent: XEvent) -> XRRResourceChangeNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XRRScreenChangeNotifyEvent
impl From<XEvent> for XRRScreenChangeNotifyEvent
source§fn from(xevent: XEvent) -> XRRScreenChangeNotifyEvent
fn from(xevent: XEvent) -> XRRScreenChangeNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XReparentEvent
impl From<XEvent> for XReparentEvent
source§fn from(xevent: XEvent) -> XReparentEvent
fn from(xevent: XEvent) -> XReparentEvent
Converts to this type from the input type.
source§impl From<XEvent> for XResizeRequestEvent
impl From<XEvent> for XResizeRequestEvent
source§fn from(xevent: XEvent) -> XResizeRequestEvent
fn from(xevent: XEvent) -> XResizeRequestEvent
Converts to this type from the input type.
source§impl From<XEvent> for XScreenSaverNotifyEvent
impl From<XEvent> for XScreenSaverNotifyEvent
source§fn from(xevent: XEvent) -> XScreenSaverNotifyEvent
fn from(xevent: XEvent) -> XScreenSaverNotifyEvent
Converts to this type from the input type.
source§impl From<XEvent> for XSelectionClearEvent
impl From<XEvent> for XSelectionClearEvent
source§fn from(xevent: XEvent) -> XSelectionClearEvent
fn from(xevent: XEvent) -> XSelectionClearEvent
Converts to this type from the input type.
source§impl From<XEvent> for XSelectionEvent
impl From<XEvent> for XSelectionEvent
source§fn from(xevent: XEvent) -> XSelectionEvent
fn from(xevent: XEvent) -> XSelectionEvent
Converts to this type from the input type.
source§impl From<XEvent> for XSelectionRequestEvent
impl From<XEvent> for XSelectionRequestEvent
source§fn from(xevent: XEvent) -> XSelectionRequestEvent
fn from(xevent: XEvent) -> XSelectionRequestEvent
Converts to this type from the input type.
source§impl From<XEvent> for XUnmapEvent
impl From<XEvent> for XUnmapEvent
source§fn from(xevent: XEvent) -> XUnmapEvent
fn from(xevent: XEvent) -> XUnmapEvent
Converts to this type from the input type.
source§impl From<XEvent> for XVisibilityEvent
impl From<XEvent> for XVisibilityEvent
source§fn from(xevent: XEvent) -> XVisibilityEvent
fn from(xevent: XEvent) -> XVisibilityEvent
Converts to this type from the input type.
source§impl From<XExposeEvent> for XEvent
impl From<XExposeEvent> for XEvent
source§fn from(other: XExposeEvent) -> XEvent
fn from(other: XExposeEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XF86VidModeNotifyEvent> for XEvent
impl From<XF86VidModeNotifyEvent> for XEvent
source§fn from(other: XF86VidModeNotifyEvent) -> XEvent
fn from(other: XF86VidModeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XFocusChangeEvent> for XEvent
impl From<XFocusChangeEvent> for XEvent
source§fn from(other: XFocusChangeEvent) -> XEvent
fn from(other: XFocusChangeEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XGenericEventCookie> for XEvent
impl From<XGenericEventCookie> for XEvent
source§fn from(other: XGenericEventCookie) -> XEvent
fn from(other: XGenericEventCookie) -> XEvent
Converts to this type from the input type.
source§impl From<XGraphicsExposeEvent> for XEvent
impl From<XGraphicsExposeEvent> for XEvent
source§fn from(other: XGraphicsExposeEvent) -> XEvent
fn from(other: XGraphicsExposeEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XGravityEvent> for XEvent
impl From<XGravityEvent> for XEvent
source§fn from(other: XGravityEvent) -> XEvent
fn from(other: XGravityEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XKeymapEvent> for XEvent
impl From<XKeymapEvent> for XEvent
source§fn from(other: XKeymapEvent) -> XEvent
fn from(other: XKeymapEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XMapRequestEvent> for XEvent
impl From<XMapRequestEvent> for XEvent
source§fn from(other: XMapRequestEvent) -> XEvent
fn from(other: XMapRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XMappingEvent> for XEvent
impl From<XMappingEvent> for XEvent
source§fn from(other: XMappingEvent) -> XEvent
fn from(other: XMappingEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XMotionEvent> for XEvent
impl From<XMotionEvent> for XEvent
source§fn from(other: XMotionEvent) -> XEvent
fn from(other: XMotionEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XNoExposeEvent> for XEvent
impl From<XNoExposeEvent> for XEvent
source§fn from(other: XNoExposeEvent) -> XEvent
fn from(other: XNoExposeEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XPropertyEvent> for XEvent
impl From<XPropertyEvent> for XEvent
source§fn from(other: XPropertyEvent) -> XEvent
fn from(other: XPropertyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRRCrtcChangeNotifyEvent> for XEvent
impl From<XRRCrtcChangeNotifyEvent> for XEvent
source§fn from(other: XRRCrtcChangeNotifyEvent) -> XEvent
fn from(other: XRRCrtcChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRRNotifyEvent> for XEvent
impl From<XRRNotifyEvent> for XEvent
source§fn from(other: XRRNotifyEvent) -> XEvent
fn from(other: XRRNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRROutputChangeNotifyEvent> for XEvent
impl From<XRROutputChangeNotifyEvent> for XEvent
source§fn from(other: XRROutputChangeNotifyEvent) -> XEvent
fn from(other: XRROutputChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRROutputPropertyNotifyEvent> for XEvent
impl From<XRROutputPropertyNotifyEvent> for XEvent
source§fn from(other: XRROutputPropertyNotifyEvent) -> XEvent
fn from(other: XRROutputPropertyNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRRProviderChangeNotifyEvent> for XEvent
impl From<XRRProviderChangeNotifyEvent> for XEvent
source§fn from(other: XRRProviderChangeNotifyEvent) -> XEvent
fn from(other: XRRProviderChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRRProviderPropertyNotifyEvent> for XEvent
impl From<XRRProviderPropertyNotifyEvent> for XEvent
source§fn from(other: XRRProviderPropertyNotifyEvent) -> XEvent
fn from(other: XRRProviderPropertyNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRRResourceChangeNotifyEvent> for XEvent
impl From<XRRResourceChangeNotifyEvent> for XEvent
source§fn from(other: XRRResourceChangeNotifyEvent) -> XEvent
fn from(other: XRRResourceChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XRRScreenChangeNotifyEvent> for XEvent
impl From<XRRScreenChangeNotifyEvent> for XEvent
source§fn from(other: XRRScreenChangeNotifyEvent) -> XEvent
fn from(other: XRRScreenChangeNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XReparentEvent> for XEvent
impl From<XReparentEvent> for XEvent
source§fn from(other: XReparentEvent) -> XEvent
fn from(other: XReparentEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XResizeRequestEvent> for XEvent
impl From<XResizeRequestEvent> for XEvent
source§fn from(other: XResizeRequestEvent) -> XEvent
fn from(other: XResizeRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XScreenSaverNotifyEvent> for XEvent
impl From<XScreenSaverNotifyEvent> for XEvent
source§fn from(other: XScreenSaverNotifyEvent) -> XEvent
fn from(other: XScreenSaverNotifyEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XSelectionClearEvent> for XEvent
impl From<XSelectionClearEvent> for XEvent
source§fn from(other: XSelectionClearEvent) -> XEvent
fn from(other: XSelectionClearEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XSelectionEvent> for XEvent
impl From<XSelectionEvent> for XEvent
source§fn from(other: XSelectionEvent) -> XEvent
fn from(other: XSelectionEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XSelectionRequestEvent> for XEvent
impl From<XSelectionRequestEvent> for XEvent
source§fn from(other: XSelectionRequestEvent) -> XEvent
fn from(other: XSelectionRequestEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XUnmapEvent> for XEvent
impl From<XUnmapEvent> for XEvent
source§fn from(other: XUnmapEvent) -> XEvent
fn from(other: XUnmapEvent) -> XEvent
Converts to this type from the input type.
source§impl From<XVisibilityEvent> for XEvent
impl From<XVisibilityEvent> for XEvent
source§fn from(other: XVisibilityEvent) -> XEvent
fn from(other: XVisibilityEvent) -> XEvent
Converts to this type from the input type.