Struct x11::xlib::XButtonEvent[][src]

#[repr(C)]pub struct XButtonEvent {
    pub type_: c_int,
    pub serial: c_ulong,
    pub send_event: Bool,
    pub display: *mut Display,
    pub window: Window,
    pub root: Window,
    pub subwindow: Window,
    pub time: Time,
    pub x: c_int,
    pub y: c_int,
    pub x_root: c_int,
    pub y_root: c_int,
    pub state: c_uint,
    pub button: c_uint,
    pub same_screen: Bool,
}

Fields

type_: c_intserial: c_ulongsend_event: Booldisplay: *mut Displaywindow: Windowroot: Windowsubwindow: Windowtime: Timex: c_inty: c_intx_root: c_inty_root: c_intstate: c_uintbutton: c_uintsame_screen: Bool

Trait Implementations

impl AsMut<XButtonEvent> for XEvent[src]

impl AsRef<XButtonEvent> for XEvent[src]

impl Clone for XButtonEvent[src]

impl Copy for XButtonEvent[src]

impl Debug for XButtonEvent[src]

impl<'a> From<&'a XButtonEvent> for XEvent[src]

impl<'a> From<&'a XEvent> for XButtonEvent[src]

impl From<XButtonEvent> for XEvent[src]

impl From<XEvent> for XButtonEvent[src]

impl PartialEq<XButtonEvent> for XButtonEvent[src]

impl StructuralPartialEq for XButtonEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for XButtonEvent

impl !Send for XButtonEvent

impl !Sync for XButtonEvent

impl Unpin for XButtonEvent

impl UnwindSafe for XButtonEvent

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.