Struct emscripten_sys::EmscriptenMouseEvent
[−]
[src]
#[repr(C)]pub struct EmscriptenMouseEvent { pub timestamp: f64, pub screenX: c_long, pub screenY: c_long, pub clientX: c_long, pub clientY: c_long, pub ctrlKey: c_int, pub shiftKey: c_int, pub altKey: c_int, pub metaKey: c_int, pub button: c_ushort, pub buttons: c_ushort, pub movementX: c_long, pub movementY: c_long, pub targetX: c_long, pub targetY: c_long, pub canvasX: c_long, pub canvasY: c_long, pub padding: c_long, }
Fields
timestamp: f64
screenX: c_long
screenY: c_long
clientX: c_long
clientY: c_long
ctrlKey: c_int
shiftKey: c_int
altKey: c_int
metaKey: c_int
movementX: c_long
movementY: c_long
targetX: c_long
targetY: c_long
canvasX: c_long
canvasY: c_long
padding: c_long
Trait Implementations
impl Debug for EmscriptenMouseEvent
[src]
impl Copy for EmscriptenMouseEvent
[src]
impl Clone for EmscriptenMouseEvent
[src]
fn clone(&self) -> Self
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