Struct x11rb_protocol::protocol::xproto::EnterNotifyEvent
source · [−]pub struct EnterNotifyEvent {}Expand description
the pointer is in a different window.
Fields
event- The window on which the event was generated.child- If theeventwindow has subwindows and the final pointer position is in one of them, thenchildis set to that subwindow,XCB_WINDOW_NONEotherwise.root- The root window for the final cursor position.root_x- The pointer X coordinate relative toroot’s origin at the time of the event.root_y- The pointer Y coordinate relative toroot’s origin at the time of the event.event_x- Ifeventis on the same screen asroot, this is the pointer X coordinate relative to the event window’s origin.event_y- Ifeventis on the same screen asroot, this is the pointer Y coordinate relative to the event window’s origin.mode-
Fields
response_type: u8detail: NotifyDetailsequence: u16time: Timestamproot: Windowevent: Windowchild: Windowroot_x: i16root_y: i16event_x: i16event_y: i16state: u16mode: NotifyModesame_screen_focus: u8Trait Implementations
sourceimpl Clone for EnterNotifyEvent
impl Clone for EnterNotifyEvent
sourcefn clone(&self) -> EnterNotifyEvent
fn clone(&self) -> EnterNotifyEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for EnterNotifyEvent
impl Debug for EnterNotifyEvent
sourceimpl Default for EnterNotifyEvent
impl Default for EnterNotifyEvent
sourcefn default() -> EnterNotifyEvent
fn default() -> EnterNotifyEvent
Returns the “default value” for a type. Read more
sourceimpl From<&'_ EnterNotifyEvent> for [u8; 32]
impl From<&'_ EnterNotifyEvent> for [u8; 32]
sourcefn from(input: &EnterNotifyEvent) -> Self
fn from(input: &EnterNotifyEvent) -> Self
Converts to this type from the input type.
sourceimpl From<EnterNotifyEvent> for [u8; 32]
impl From<EnterNotifyEvent> for [u8; 32]
sourcefn from(input: EnterNotifyEvent) -> Self
fn from(input: EnterNotifyEvent) -> Self
Converts to this type from the input type.
sourceimpl Hash for EnterNotifyEvent
impl Hash for EnterNotifyEvent
sourceimpl Ord for EnterNotifyEvent
impl Ord for EnterNotifyEvent
sourceimpl PartialEq<EnterNotifyEvent> for EnterNotifyEvent
impl PartialEq<EnterNotifyEvent> for EnterNotifyEvent
sourcefn eq(&self, other: &EnterNotifyEvent) -> bool
fn eq(&self, other: &EnterNotifyEvent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EnterNotifyEvent) -> bool
fn ne(&self, other: &EnterNotifyEvent) -> bool
This method tests for !=.
sourceimpl PartialOrd<EnterNotifyEvent> for EnterNotifyEvent
impl PartialOrd<EnterNotifyEvent> for EnterNotifyEvent
sourcefn partial_cmp(&self, other: &EnterNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &EnterNotifyEvent) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl TryParse for EnterNotifyEvent
impl TryParse for EnterNotifyEvent
impl Copy for EnterNotifyEvent
impl Eq for EnterNotifyEvent
impl StructuralEq for EnterNotifyEvent
impl StructuralPartialEq for EnterNotifyEvent
Auto Trait Implementations
impl RefUnwindSafe for EnterNotifyEvent
impl Send for EnterNotifyEvent
impl Sync for EnterNotifyEvent
impl Unpin for EnterNotifyEvent
impl UnwindSafe for EnterNotifyEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more