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
sourceimpl AsMut<XKeymapEvent> for XEvent
impl AsMut<XKeymapEvent> for XEvent
sourcefn 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.
sourceimpl AsRef<XKeymapEvent> for XEvent
impl AsRef<XKeymapEvent> for XEvent
sourcefn as_ref(&self) -> &XKeymapEvent
fn as_ref(&self) -> &XKeymapEvent
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for XKeymapEvent
impl Clone for XKeymapEvent
sourcefn clone(&self) -> XKeymapEvent
fn clone(&self) -> XKeymapEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XKeymapEvent
impl Debug for XKeymapEvent
sourceimpl<'a> From<&'a XEvent> for XKeymapEvent
impl<'a> From<&'a XEvent> for XKeymapEvent
sourcefn from(xevent: &'a XEvent) -> XKeymapEvent
fn from(xevent: &'a XEvent) -> XKeymapEvent
Converts to this type from the input type.
sourceimpl<'a> From<&'a XKeymapEvent> for XEvent
impl<'a> From<&'a XKeymapEvent> for XEvent
sourcefn from(other: &'a XKeymapEvent) -> XEvent
fn from(other: &'a XKeymapEvent) -> XEvent
Converts to this type from the input type.
sourceimpl From<XEvent> for XKeymapEvent
impl From<XEvent> for XKeymapEvent
sourcefn from(xevent: XEvent) -> XKeymapEvent
fn from(xevent: XEvent) -> XKeymapEvent
Converts to this type from the input type.
sourceimpl From<XKeymapEvent> for XEvent
impl From<XKeymapEvent> for XEvent
sourcefn from(other: XKeymapEvent) -> XEvent
fn from(other: XKeymapEvent) -> XEvent
Converts to this type from the input type.
sourceimpl PartialEq<XKeymapEvent> for XKeymapEvent
impl PartialEq<XKeymapEvent> for XKeymapEvent
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more