Struct gdk_x11_sys::xlib::XKeymapEvent
source · #[repr(C)]pub struct XKeymapEvent {
pub type_: i32,
pub serial: u32,
pub send_event: i32,
pub display: *mut _XDisplay,
pub window: u32,
pub key_vector: [i8; 32],
}
Fields§
§type_: i32
§serial: u32
§send_event: i32
§display: *mut _XDisplay
§window: u32
§key_vector: [i8; 32]
Trait Implementations§
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 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 Clone for XKeymapEvent
impl Clone for XKeymapEvent
source§fn clone(&self) -> XKeymapEvent
fn clone(&self) -> XKeymapEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XKeymapEvent
impl Debug for XKeymapEvent
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 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 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<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 PartialEq<XKeymapEvent> for XKeymapEvent
impl PartialEq<XKeymapEvent> for XKeymapEvent
source§fn eq(&self, other: &XKeymapEvent) -> bool
fn eq(&self, other: &XKeymapEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XKeymapEvent
impl StructuralPartialEq for XKeymapEvent
Auto Trait Implementations§
impl RefUnwindSafe for XKeymapEvent
impl !Send for XKeymapEvent
impl !Sync for XKeymapEvent
impl Unpin for XKeymapEvent
impl UnwindSafe for XKeymapEvent
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