Union gpu_display::gpu_display_x::xlib::_XEvent
source · #[repr(C)]
pub union _XEvent {
Show 36 fields
pub type_: c_int,
pub xany: XAnyEvent,
pub xkey: XKeyEvent,
pub xbutton: XButtonEvent,
pub xmotion: XMotionEvent,
pub xcrossing: XCrossingEvent,
pub xfocus: XFocusChangeEvent,
pub xexpose: XExposeEvent,
pub xgraphicsexpose: XGraphicsExposeEvent,
pub xnoexpose: XNoExposeEvent,
pub xvisibility: XVisibilityEvent,
pub xcreatewindow: XCreateWindowEvent,
pub xdestroywindow: XDestroyWindowEvent,
pub xunmap: XUnmapEvent,
pub xmap: XMapEvent,
pub xmaprequest: XMapRequestEvent,
pub xreparent: XReparentEvent,
pub xconfigure: XConfigureEvent,
pub xgravity: XGravityEvent,
pub xresizerequest: XResizeRequestEvent,
pub xconfigurerequest: XConfigureRequestEvent,
pub xcirculate: XCirculateEvent,
pub xcirculaterequest: XCirculateRequestEvent,
pub xproperty: XPropertyEvent,
pub xselectionclear: XSelectionClearEvent,
pub xselectionrequest: XSelectionRequestEvent,
pub xselection: XSelectionEvent,
pub xcolormap: XColormapEvent,
pub xclient: XClientMessageEvent,
pub xmapping: XMappingEvent,
pub xerror: XErrorEvent,
pub xkeymap: XKeymapEvent,
pub xgeneric: XGenericEvent,
pub xcookie: XGenericEventCookie,
pub pad: [c_long; 24],
_bindgen_union_align: [u64; 24],
}Fields§
§type_: c_int§xany: XAnyEvent§xkey: XKeyEvent§xmotion: XMotionEvent§xcrossing: XCrossingEvent§xfocus: XFocusChangeEvent§xexpose: XExposeEvent§xgraphicsexpose: XGraphicsExposeEvent§xnoexpose: XNoExposeEvent§xvisibility: XVisibilityEvent§xcreatewindow: XCreateWindowEvent§xdestroywindow: XDestroyWindowEvent§xunmap: XUnmapEvent§xmap: XMapEvent§xmaprequest: XMapRequestEvent§xreparent: XReparentEvent§xconfigure: XConfigureEvent§xgravity: XGravityEvent§xresizerequest: XResizeRequestEvent§xconfigurerequest: XConfigureRequestEvent§xcirculate: XCirculateEvent§xcirculaterequest: XCirculateRequestEvent§xproperty: XPropertyEvent§xselectionclear: XSelectionClearEvent§xselectionrequest: XSelectionRequestEvent§xselection: XSelectionEvent§xcolormap: XColormapEvent§xclient: XClientMessageEvent§xmapping: XMappingEvent§xerror: XErrorEvent§xkeymap: XKeymapEvent§xgeneric: XGenericEvent§pad: [c_long; 24]§_bindgen_union_align: [u64; 24]Trait Implementations§
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§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.§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.§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.§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.