#[repr(C)]
pub union XEvent {
Show 44 fields
pub type_: i32,
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: [i64; 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_: i32
§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: [i64; 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§
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 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 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 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 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 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 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.
impl Copy for XEvent
Auto Trait Implementations§
impl Freeze for XEvent
impl RefUnwindSafe for XEvent
impl !Send for XEvent
impl !Sync for XEvent
impl Unpin for XEvent
impl UnwindSafe for XEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.