Struct x11::xlib::XMappingEvent
[−]
[src]
#[repr(C)]pub struct XMappingEvent { pub type_: c_int, pub serial: c_ulong, pub send_event: Bool, pub display: *mut Display, pub event: Window, pub request: c_int, pub first_keycode: c_int, pub count: c_int, }
Fields
type_: c_int
serial: c_ulong
send_event: Bool
display: *mut Display
event: Window
request: c_int
first_keycode: c_int
count: c_int
Trait Implementations
impl From<XEvent> for XMappingEvent
[src]
fn from(xevent: XEvent) -> XMappingEvent
Performs the conversion.
impl<'a> From<&'a XEvent> for XMappingEvent
[src]
fn from(xevent: &'a XEvent) -> XMappingEvent
Performs the conversion.
impl Clone for XMappingEvent
[src]
fn clone(&self) -> XMappingEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for XMappingEvent
[src]
impl PartialEq for XMappingEvent
[src]
fn eq(&self, __arg_0: &XMappingEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XMappingEvent) -> bool
This method tests for !=
.