Struct allegro_sys::events::ALLEGRO_MOUSE_EVENT
[−]
[src]
#[repr(C)]pub struct ALLEGRO_MOUSE_EVENT { pub _type: ALLEGRO_EVENT_TYPE, pub source: *mut ALLEGRO_MOUSE, pub timestamp: c_double, pub display: *mut ALLEGRO_DISPLAY, pub x: c_int, pub y: c_int, pub z: c_int, pub w: c_int, pub dx: c_int, pub dy: c_int, pub dz: c_int, pub dw: c_int, pub button: c_uint, pub pressure: c_float, }
Fields
_type: ALLEGRO_EVENT_TYPE
source: *mut ALLEGRO_MOUSE
timestamp: c_double
display: *mut ALLEGRO_DISPLAY
x: c_int
y: c_int
z: c_int
w: c_int
dx: c_int
dy: c_int
dz: c_int
dw: c_int
pressure: c_float
Trait Implementations
impl Copy for ALLEGRO_MOUSE_EVENT
[src]
impl Clone for ALLEGRO_MOUSE_EVENT
[src]
fn clone(&self) -> ALLEGRO_MOUSE_EVENT
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more