Struct xcb::ffi::xproto::xcb_enter_notify_event_t[][src]

#[repr(C)]pub struct xcb_enter_notify_event_t {
    pub response_type: u8,
    pub detail: u8,
    pub sequence: u16,
    pub time: xcb_timestamp_t,
    pub root: xcb_window_t,
    pub event: xcb_window_t,
    pub child: xcb_window_t,
    pub root_x: i16,
    pub root_y: i16,
    pub event_x: i16,
    pub event_y: i16,
    pub state: u16,
    pub mode: u8,
    pub same_screen_focus: u8,
}

the pointer is in a different window

Fields

response_type: u8detail: u8sequence: u16time: xcb_timestamp_troot: xcb_window_t

The root window for the final cursor position.

event: xcb_window_t

The window on which the event was generated.

child: xcb_window_t

If the event window has subwindows and the final pointer position is in one of them, then child is set to that subwindow, XCB_WINDOW_NONE otherwise.

root_x: i16

The pointer X coordinate relative to root’s origin at the time of the event.

root_y: i16

The pointer Y coordinate relative to root’s origin at the time of the event.

event_x: i16

If event is on the same screen as root, this is the pointer X coordinate relative to the event window’s origin.

event_y: i16

If event is on the same screen as root, this is the pointer Y coordinate relative to the event window’s origin.

state: u16mode: u8
same_screen_focus: u8

Trait Implementations

impl Clone for xcb_enter_notify_event_t[src]

impl Copy for xcb_enter_notify_event_t[src]

Auto Trait Implementations

impl RefUnwindSafe for xcb_enter_notify_event_t

impl Send for xcb_enter_notify_event_t

impl Sync for xcb_enter_notify_event_t

impl Unpin for xcb_enter_notify_event_t

impl UnwindSafe for xcb_enter_notify_event_t

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.