Struct gdk_x11_sys::xlib::XMotionEvent [−]
#[repr(C)]pub struct XMotionEvent {}
Fields
type_: i32
serial: u64
send_event: i32
display: *mut _XDisplay
window: u64
root: u64
subwindow: u64
time: u64
x: i32
y: i32
x_root: i32
y_root: i32
state: u32
is_hint: i8
same_screen: i32
Trait Implementations
impl AsMut<XMotionEvent> for XEvent
impl AsMut<XMotionEvent> for XEvent
pub fn as_mut(&mut self) -> &mut XMotionEvent
pub fn as_mut(&mut self) -> &mut XMotionEvent
Performs the conversion.
impl AsRef<XMotionEvent> for XEvent
impl AsRef<XMotionEvent> for XEvent
pub fn as_ref(&self) -> &XMotionEvent
pub fn as_ref(&self) -> &XMotionEvent
Performs the conversion.
impl Clone for XMotionEvent
impl Clone for XMotionEvent
pub fn clone(&self) -> XMotionEvent
pub fn clone(&self) -> XMotionEvent
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for XMotionEvent
impl Debug for XMotionEvent
impl<'a> From<&'a XEvent> for XMotionEvent
impl<'a> From<&'a XEvent> for XMotionEvent
pub fn from(xevent: &'a XEvent) -> XMotionEvent
pub fn from(xevent: &'a XEvent) -> XMotionEvent
Performs the conversion.
impl<'a> From<&'a XMotionEvent> for XEvent
impl<'a> From<&'a XMotionEvent> for XEvent
pub fn from(other: &'a XMotionEvent) -> XEvent
pub fn from(other: &'a XMotionEvent) -> XEvent
Performs the conversion.
impl From<XEvent> for XMotionEvent
impl From<XEvent> for XMotionEvent
pub fn from(xevent: XEvent) -> XMotionEvent
pub fn from(xevent: XEvent) -> XMotionEvent
Performs the conversion.
impl From<XMotionEvent> for XEvent
impl From<XMotionEvent> for XEvent
pub fn from(other: XMotionEvent) -> XEvent
pub fn from(other: XMotionEvent) -> XEvent
Performs the conversion.
impl PartialEq<XMotionEvent> for XMotionEvent
impl PartialEq<XMotionEvent> for XMotionEvent
pub fn eq(&self, other: &XMotionEvent) -> bool
pub fn eq(&self, other: &XMotionEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &XMotionEvent) -> bool
pub fn ne(&self, other: &XMotionEvent) -> bool
This method tests for !=
.
impl Copy for XMotionEvent
impl StructuralPartialEq for XMotionEvent
Auto Trait Implementations
impl RefUnwindSafe for XMotionEvent
impl !Send for XMotionEvent
impl !Sync for XMotionEvent
impl Unpin for XMotionEvent
impl UnwindSafe for XMotionEvent
Blanket Implementations
Mutably borrows from an owned value. Read more