Union x11_dl::xlib::XEvent

source ·
#[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§button: XButtonEvent§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§generic_event_cookie: XGenericEventCookie§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

source

pub fn get_type(&self) -> c_int

Trait Implementations§

source§

impl AsMut<XAnyEvent> for XEvent

source§

fn as_mut(&mut self) -> &mut XAnyEvent

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<XButtonEvent> for XEvent

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

fn as_mut(&mut self) -> &mut XGravityEvent

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<XKeyEvent> for XEvent

source§

fn as_mut(&mut self) -> &mut XKeyEvent

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<XKeymapEvent> for XEvent

source§

fn as_mut(&mut self) -> &mut XKeymapEvent

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<XMapEvent> for XEvent

source§

fn as_mut(&mut self) -> &mut XMapEvent

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<XMapRequestEvent> for XEvent

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

fn as_mut(&mut self) -> &mut XVisibilityEvent

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<XAnyEvent> for XEvent

source§

fn as_ref(&self) -> &XAnyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XButtonEvent> for XEvent

source§

fn as_ref(&self) -> &XButtonEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XCirculateEvent> for XEvent

source§

fn as_ref(&self) -> &XCirculateEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XCirculateRequestEvent> for XEvent

source§

fn as_ref(&self) -> &XCirculateRequestEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XClientMessageEvent> for XEvent

source§

fn as_ref(&self) -> &XClientMessageEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XColormapEvent> for XEvent

source§

fn as_ref(&self) -> &XColormapEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XConfigureEvent> for XEvent

source§

fn as_ref(&self) -> &XConfigureEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XConfigureRequestEvent> for XEvent

source§

fn as_ref(&self) -> &XConfigureRequestEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XCreateWindowEvent> for XEvent

source§

fn as_ref(&self) -> &XCreateWindowEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XCrossingEvent> for XEvent

source§

fn as_ref(&self) -> &XCrossingEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XDestroyWindowEvent> for XEvent

source§

fn as_ref(&self) -> &XDestroyWindowEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XErrorEvent> for XEvent

source§

fn as_ref(&self) -> &XErrorEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XExposeEvent> for XEvent

source§

fn as_ref(&self) -> &XExposeEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XF86VidModeNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XF86VidModeNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XFocusChangeEvent> for XEvent

source§

fn as_ref(&self) -> &XFocusChangeEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XGenericEventCookie> for XEvent

source§

fn as_ref(&self) -> &XGenericEventCookie

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XGraphicsExposeEvent> for XEvent

source§

fn as_ref(&self) -> &XGraphicsExposeEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XGravityEvent> for XEvent

source§

fn as_ref(&self) -> &XGravityEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XKeyEvent> for XEvent

source§

fn as_ref(&self) -> &XKeyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XKeymapEvent> for XEvent

source§

fn as_ref(&self) -> &XKeymapEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XMapEvent> for XEvent

source§

fn as_ref(&self) -> &XMapEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XMapRequestEvent> for XEvent

source§

fn as_ref(&self) -> &XMapRequestEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XMappingEvent> for XEvent

source§

fn as_ref(&self) -> &XMappingEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XMotionEvent> for XEvent

source§

fn as_ref(&self) -> &XMotionEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XNoExposeEvent> for XEvent

source§

fn as_ref(&self) -> &XNoExposeEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XPropertyEvent> for XEvent

source§

fn as_ref(&self) -> &XPropertyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRRCrtcChangeNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRRCrtcChangeNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRRNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRRNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRROutputChangeNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRROutputChangeNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRROutputPropertyNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRROutputPropertyNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRRProviderChangeNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRRProviderChangeNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRRProviderPropertyNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRRProviderPropertyNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRRResourceChangeNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRRResourceChangeNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XRRScreenChangeNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XRRScreenChangeNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XReparentEvent> for XEvent

source§

fn as_ref(&self) -> &XReparentEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XResizeRequestEvent> for XEvent

source§

fn as_ref(&self) -> &XResizeRequestEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XScreenSaverNotifyEvent> for XEvent

source§

fn as_ref(&self) -> &XScreenSaverNotifyEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XSelectionClearEvent> for XEvent

source§

fn as_ref(&self) -> &XSelectionClearEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XSelectionEvent> for XEvent

source§

fn as_ref(&self) -> &XSelectionEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XSelectionRequestEvent> for XEvent

source§

fn as_ref(&self) -> &XSelectionRequestEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XUnmapEvent> for XEvent

source§

fn as_ref(&self) -> &XUnmapEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<XVisibilityEvent> for XEvent

source§

fn as_ref(&self) -> &XVisibilityEvent

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for XEvent

source§

fn clone(&self) -> XEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for XEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a XAnyEvent> for XEvent

source§

fn from(other: &'a XAnyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XButtonEvent> for XEvent

source§

fn from(other: &'a XButtonEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XCirculateEvent> for XEvent

source§

fn from(other: &'a XCirculateEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XCirculateRequestEvent> for XEvent

source§

fn from(other: &'a XCirculateRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XClientMessageEvent> for XEvent

source§

fn from(other: &'a XClientMessageEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XColormapEvent> for XEvent

source§

fn from(other: &'a XColormapEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XConfigureEvent> for XEvent

source§

fn from(other: &'a XConfigureEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XConfigureRequestEvent> for XEvent

source§

fn from(other: &'a XConfigureRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XCreateWindowEvent> for XEvent

source§

fn from(other: &'a XCreateWindowEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XCrossingEvent> for XEvent

source§

fn from(other: &'a XCrossingEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XDestroyWindowEvent> for XEvent

source§

fn from(other: &'a XDestroyWindowEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XErrorEvent> for XEvent

source§

fn from(other: &'a XErrorEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XAnyEvent

source§

fn from(xevent: &'a XEvent) -> XAnyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XButtonEvent

source§

fn from(xevent: &'a XEvent) -> XButtonEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XCirculateEvent

source§

fn from(xevent: &'a XEvent) -> XCirculateEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XCirculateRequestEvent

source§

fn from(xevent: &'a XEvent) -> XCirculateRequestEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XClientMessageEvent

source§

fn from(xevent: &'a XEvent) -> XClientMessageEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XColormapEvent

source§

fn from(xevent: &'a XEvent) -> XColormapEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XConfigureEvent

source§

fn from(xevent: &'a XEvent) -> XConfigureEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XConfigureRequestEvent

source§

fn from(xevent: &'a XEvent) -> XConfigureRequestEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XCreateWindowEvent

source§

fn from(xevent: &'a XEvent) -> XCreateWindowEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XCrossingEvent

source§

fn from(xevent: &'a XEvent) -> XCrossingEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XDestroyWindowEvent

source§

fn from(xevent: &'a XEvent) -> XDestroyWindowEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XErrorEvent

source§

fn from(xevent: &'a XEvent) -> XErrorEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XExposeEvent

source§

fn from(xevent: &'a XEvent) -> XExposeEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XF86VidModeNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XF86VidModeNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XFocusChangeEvent

source§

fn from(xevent: &'a XEvent) -> XFocusChangeEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XGenericEventCookie

source§

fn from(xevent: &'a XEvent) -> XGenericEventCookie

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XGraphicsExposeEvent

source§

fn from(xevent: &'a XEvent) -> XGraphicsExposeEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XGravityEvent

source§

fn from(xevent: &'a XEvent) -> XGravityEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XKeyEvent

source§

fn from(xevent: &'a XEvent) -> XKeyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XKeymapEvent

source§

fn from(xevent: &'a XEvent) -> XKeymapEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XMapEvent

source§

fn from(xevent: &'a XEvent) -> XMapEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XMapRequestEvent

source§

fn from(xevent: &'a XEvent) -> XMapRequestEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XMappingEvent

source§

fn from(xevent: &'a XEvent) -> XMappingEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XMotionEvent

source§

fn from(xevent: &'a XEvent) -> XMotionEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XNoExposeEvent

source§

fn from(xevent: &'a XEvent) -> XNoExposeEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XPropertyEvent

source§

fn from(xevent: &'a XEvent) -> XPropertyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRRCrtcChangeNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRRCrtcChangeNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRRNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRRNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRROutputChangeNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRROutputChangeNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRROutputPropertyNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRROutputPropertyNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRRProviderChangeNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRRProviderChangeNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRRProviderPropertyNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRRProviderPropertyNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRRResourceChangeNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRRResourceChangeNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XRRScreenChangeNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XRRScreenChangeNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XReparentEvent

source§

fn from(xevent: &'a XEvent) -> XReparentEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XResizeRequestEvent

source§

fn from(xevent: &'a XEvent) -> XResizeRequestEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XScreenSaverNotifyEvent

source§

fn from(xevent: &'a XEvent) -> XScreenSaverNotifyEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XSelectionClearEvent

source§

fn from(xevent: &'a XEvent) -> XSelectionClearEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XSelectionEvent

source§

fn from(xevent: &'a XEvent) -> XSelectionEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XSelectionRequestEvent

source§

fn from(xevent: &'a XEvent) -> XSelectionRequestEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XUnmapEvent

source§

fn from(xevent: &'a XEvent) -> XUnmapEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XEvent> for XVisibilityEvent

source§

fn from(xevent: &'a XEvent) -> XVisibilityEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XExposeEvent> for XEvent

source§

fn from(other: &'a XExposeEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XF86VidModeNotifyEvent> for XEvent

source§

fn from(other: &'a XF86VidModeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XFocusChangeEvent> for XEvent

source§

fn from(other: &'a XFocusChangeEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XGenericEventCookie> for XEvent

source§

fn from(other: &'a XGenericEventCookie) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XGraphicsExposeEvent> for XEvent

source§

fn from(other: &'a XGraphicsExposeEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XGravityEvent> for XEvent

source§

fn from(other: &'a XGravityEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XKeyEvent> for XEvent

source§

fn from(other: &'a XKeyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XKeymapEvent> for XEvent

source§

fn from(other: &'a XKeymapEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XMapEvent> for XEvent

source§

fn from(other: &'a XMapEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XMapRequestEvent> for XEvent

source§

fn from(other: &'a XMapRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XMappingEvent> for XEvent

source§

fn from(other: &'a XMappingEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XMotionEvent> for XEvent

source§

fn from(other: &'a XMotionEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XNoExposeEvent> for XEvent

source§

fn from(other: &'a XNoExposeEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XPropertyEvent> for XEvent

source§

fn from(other: &'a XPropertyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRRCrtcChangeNotifyEvent> for XEvent

source§

fn from(other: &'a XRRCrtcChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRRNotifyEvent> for XEvent

source§

fn from(other: &'a XRRNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRROutputChangeNotifyEvent> for XEvent

source§

fn from(other: &'a XRROutputChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRROutputPropertyNotifyEvent> for XEvent

source§

fn from(other: &'a XRROutputPropertyNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRRProviderChangeNotifyEvent> for XEvent

source§

fn from(other: &'a XRRProviderChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRRProviderPropertyNotifyEvent> for XEvent

source§

fn from(other: &'a XRRProviderPropertyNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRRResourceChangeNotifyEvent> for XEvent

source§

fn from(other: &'a XRRResourceChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XRRScreenChangeNotifyEvent> for XEvent

source§

fn from(other: &'a XRRScreenChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XReparentEvent> for XEvent

source§

fn from(other: &'a XReparentEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XResizeRequestEvent> for XEvent

source§

fn from(other: &'a XResizeRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XScreenSaverNotifyEvent> for XEvent

source§

fn from(other: &'a XScreenSaverNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XSelectionClearEvent> for XEvent

source§

fn from(other: &'a XSelectionClearEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XSelectionEvent> for XEvent

source§

fn from(other: &'a XSelectionEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XSelectionRequestEvent> for XEvent

source§

fn from(other: &'a XSelectionRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XUnmapEvent> for XEvent

source§

fn from(other: &'a XUnmapEvent) -> XEvent

Converts to this type from the input type.
source§

impl<'a> From<&'a XVisibilityEvent> for XEvent

source§

fn from(other: &'a XVisibilityEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XAnyEvent> for XEvent

source§

fn from(other: XAnyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XButtonEvent> for XEvent

source§

fn from(other: XButtonEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XCirculateEvent> for XEvent

source§

fn from(other: XCirculateEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XCirculateRequestEvent> for XEvent

source§

fn from(other: XCirculateRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XClientMessageEvent> for XEvent

source§

fn from(other: XClientMessageEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XColormapEvent> for XEvent

source§

fn from(other: XColormapEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XConfigureEvent> for XEvent

source§

fn from(other: XConfigureEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XConfigureRequestEvent> for XEvent

source§

fn from(other: XConfigureRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XCreateWindowEvent> for XEvent

source§

fn from(other: XCreateWindowEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XCrossingEvent> for XEvent

source§

fn from(other: XCrossingEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XDestroyWindowEvent> for XEvent

source§

fn from(other: XDestroyWindowEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XErrorEvent> for XEvent

source§

fn from(other: XErrorEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XAnyEvent

source§

fn from(xevent: XEvent) -> XAnyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XButtonEvent

source§

fn from(xevent: XEvent) -> XButtonEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XCirculateEvent

source§

fn from(xevent: XEvent) -> XCirculateEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XCirculateRequestEvent

source§

fn from(xevent: XEvent) -> XCirculateRequestEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XClientMessageEvent

source§

fn from(xevent: XEvent) -> XClientMessageEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XColormapEvent

source§

fn from(xevent: XEvent) -> XColormapEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XConfigureEvent

source§

fn from(xevent: XEvent) -> XConfigureEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XConfigureRequestEvent

source§

fn from(xevent: XEvent) -> XConfigureRequestEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XCreateWindowEvent

source§

fn from(xevent: XEvent) -> XCreateWindowEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XCrossingEvent

source§

fn from(xevent: XEvent) -> XCrossingEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XDestroyWindowEvent

source§

fn from(xevent: XEvent) -> XDestroyWindowEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XErrorEvent

source§

fn from(xevent: XEvent) -> XErrorEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XExposeEvent

source§

fn from(xevent: XEvent) -> XExposeEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XF86VidModeNotifyEvent

source§

fn from(xevent: XEvent) -> XF86VidModeNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XFocusChangeEvent

source§

fn from(xevent: XEvent) -> XFocusChangeEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XGenericEventCookie

source§

fn from(xevent: XEvent) -> XGenericEventCookie

Converts to this type from the input type.
source§

impl From<XEvent> for XGraphicsExposeEvent

source§

fn from(xevent: XEvent) -> XGraphicsExposeEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XGravityEvent

source§

fn from(xevent: XEvent) -> XGravityEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XKeyEvent

source§

fn from(xevent: XEvent) -> XKeyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XKeymapEvent

source§

fn from(xevent: XEvent) -> XKeymapEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XMapEvent

source§

fn from(xevent: XEvent) -> XMapEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XMapRequestEvent

source§

fn from(xevent: XEvent) -> XMapRequestEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XMappingEvent

source§

fn from(xevent: XEvent) -> XMappingEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XMotionEvent

source§

fn from(xevent: XEvent) -> XMotionEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XNoExposeEvent

source§

fn from(xevent: XEvent) -> XNoExposeEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XPropertyEvent

source§

fn from(xevent: XEvent) -> XPropertyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRRCrtcChangeNotifyEvent

source§

fn from(xevent: XEvent) -> XRRCrtcChangeNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRRNotifyEvent

source§

fn from(xevent: XEvent) -> XRRNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRROutputChangeNotifyEvent

source§

fn from(xevent: XEvent) -> XRROutputChangeNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRROutputPropertyNotifyEvent

source§

fn from(xevent: XEvent) -> XRROutputPropertyNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRRProviderChangeNotifyEvent

source§

fn from(xevent: XEvent) -> XRRProviderChangeNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRRProviderPropertyNotifyEvent

source§

fn from(xevent: XEvent) -> XRRProviderPropertyNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRRResourceChangeNotifyEvent

source§

fn from(xevent: XEvent) -> XRRResourceChangeNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XRRScreenChangeNotifyEvent

source§

fn from(xevent: XEvent) -> XRRScreenChangeNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XReparentEvent

source§

fn from(xevent: XEvent) -> XReparentEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XResizeRequestEvent

source§

fn from(xevent: XEvent) -> XResizeRequestEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XScreenSaverNotifyEvent

source§

fn from(xevent: XEvent) -> XScreenSaverNotifyEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XSelectionClearEvent

source§

fn from(xevent: XEvent) -> XSelectionClearEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XSelectionEvent

source§

fn from(xevent: XEvent) -> XSelectionEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XSelectionRequestEvent

source§

fn from(xevent: XEvent) -> XSelectionRequestEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XUnmapEvent

source§

fn from(xevent: XEvent) -> XUnmapEvent

Converts to this type from the input type.
source§

impl From<XEvent> for XVisibilityEvent

source§

fn from(xevent: XEvent) -> XVisibilityEvent

Converts to this type from the input type.
source§

impl From<XExposeEvent> for XEvent

source§

fn from(other: XExposeEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XF86VidModeNotifyEvent> for XEvent

source§

fn from(other: XF86VidModeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XFocusChangeEvent> for XEvent

source§

fn from(other: XFocusChangeEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XGenericEventCookie> for XEvent

source§

fn from(other: XGenericEventCookie) -> XEvent

Converts to this type from the input type.
source§

impl From<XGraphicsExposeEvent> for XEvent

source§

fn from(other: XGraphicsExposeEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XGravityEvent> for XEvent

source§

fn from(other: XGravityEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XKeyEvent> for XEvent

source§

fn from(other: XKeyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XKeymapEvent> for XEvent

source§

fn from(other: XKeymapEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XMapEvent> for XEvent

source§

fn from(other: XMapEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XMapRequestEvent> for XEvent

source§

fn from(other: XMapRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XMappingEvent> for XEvent

source§

fn from(other: XMappingEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XMotionEvent> for XEvent

source§

fn from(other: XMotionEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XNoExposeEvent> for XEvent

source§

fn from(other: XNoExposeEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XPropertyEvent> for XEvent

source§

fn from(other: XPropertyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRRCrtcChangeNotifyEvent> for XEvent

source§

fn from(other: XRRCrtcChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRRNotifyEvent> for XEvent

source§

fn from(other: XRRNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRROutputChangeNotifyEvent> for XEvent

source§

fn from(other: XRROutputChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRROutputPropertyNotifyEvent> for XEvent

source§

fn from(other: XRROutputPropertyNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRRProviderChangeNotifyEvent> for XEvent

source§

fn from(other: XRRProviderChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRRProviderPropertyNotifyEvent> for XEvent

source§

fn from(other: XRRProviderPropertyNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRRResourceChangeNotifyEvent> for XEvent

source§

fn from(other: XRRResourceChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XRRScreenChangeNotifyEvent> for XEvent

source§

fn from(other: XRRScreenChangeNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XReparentEvent> for XEvent

source§

fn from(other: XReparentEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XResizeRequestEvent> for XEvent

source§

fn from(other: XResizeRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XScreenSaverNotifyEvent> for XEvent

source§

fn from(other: XScreenSaverNotifyEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XSelectionClearEvent> for XEvent

source§

fn from(other: XSelectionClearEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XSelectionEvent> for XEvent

source§

fn from(other: XSelectionEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XSelectionRequestEvent> for XEvent

source§

fn from(other: XSelectionRequestEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XUnmapEvent> for XEvent

source§

fn from(other: XUnmapEvent) -> XEvent

Converts to this type from the input type.
source§

impl From<XVisibilityEvent> for XEvent

source§

fn from(other: XVisibilityEvent) -> XEvent

Converts to this type from the input type.
source§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.