Struct x11::xlib::XGravityEvent [] [src]

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 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 !=.

impl Copy for XGravityEvent
[src]

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 From<XEvent> for XGravityEvent
[src]

fn from(e: XEvent) -> XGravityEvent

Performs the conversion.