Struct sdl2_sys::XMotionEvent

source ·
#[repr(C)]
pub struct XMotionEvent {
Show 15 fields pub type_: c_int, pub serial: c_ulong, pub send_event: c_int, 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 is_hint: c_char, pub same_screen: c_int,
}

Fields

type_: c_intserial: c_ulongsend_event: c_intdisplay: *mut Displaywindow: Windowroot: Windowsubwindow: Windowtime: Timex: c_inty: c_intx_root: c_inty_root: c_intstate: c_uintis_hint: c_charsame_screen: c_int

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

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.