Struct x11::xlib::XKeymapEvent
source · #[repr(C)]pub struct XKeymapEvent {
pub type_: c_int,
pub serial: c_ulong,
pub send_event: Bool,
pub display: *mut Display,
pub window: Window,
pub key_vector: [c_char; 32],
}
Fields§
§type_: c_int
§serial: c_ulong
§send_event: Bool
§display: *mut Display
§window: Window
§key_vector: [c_char; 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 for XKeymapEvent
impl PartialEq 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 Freeze for XKeymapEvent
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