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

Trait Implementations

impl Debug for EmscriptenMouseEvent
[src]

Formats the value using the given formatter.

impl Copy for EmscriptenMouseEvent
[src]

impl Clone for EmscriptenMouseEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more