Struct x11::xlib::XGravityEvent
[−]
[src]
#[repr(C)]pub struct XGravityEvent { pub type_: c_int, pub serial: c_ulong, pub send_event: Bool, pub display: *mut Display, pub event: Window, pub window: Window, pub x: c_int, pub y: c_int, }
Fields
type_: c_int
serial: c_ulong
send_event: Bool
display: *mut Display
event: Window
window: Window
x: c_int
y: c_int
Trait Implementations
impl From<XEvent> for XGravityEvent
[src]
fn from(xevent: XEvent) -> XGravityEvent
Performs the conversion.
impl<'a> From<&'a XEvent> for XGravityEvent
[src]
fn from(xevent: &'a XEvent) -> XGravityEvent
Performs the conversion.
impl Clone for XGravityEvent
[src]
fn clone(&self) -> XGravityEvent
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 XGravityEvent
[src]
impl PartialEq for XGravityEvent
[src]
fn eq(&self, __arg_0: &XGravityEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XGravityEvent) -> bool
This method tests for !=
.