Struct redwm::imports::EnterNotifyEvent[][src]

pub struct EnterNotifyEvent {
Show 14 fields pub response_type: u8, pub detail: NotifyDetail, pub sequence: u16, pub time: u32, pub root: u32, pub event: u32, pub child: u32, pub root_x: i16, pub root_y: i16, pub event_x: i16, pub event_y: i16, pub state: u16, pub mode: NotifyMode, pub same_screen_focus: u8,
}
Expand description

the pointer is in a different window.

Fields

  • event - The window on which the event was generated.
  • child - 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 - The root window for the final cursor position.
  • root_x - The pointer X coordinate relative to root’s origin at the time of the event.
  • root_y - The pointer Y coordinate relative to root’s origin at the time of the event.
  • event_x - If event is on the same screen as root, this is the pointer X coordinate relative to the event window’s origin.
  • event_y - If event is on the same screen as root, this is the pointer Y coordinate relative to the event window’s origin.
  • mode -

Fields

response_type: u8detail: NotifyDetailsequence: u16time: u32root: u32event: u32child: u32root_x: i16root_y: i16event_x: i16event_y: i16state: u16mode: NotifyModesame_screen_focus: u8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Try to parse the given values into an instance of this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Try to parse the given values into an instance of this type. Read more