Struct emscripten_sys::EmscriptenKeyboardEvent
[−]
[src]
#[repr(C)]pub struct EmscriptenKeyboardEvent { pub key: [c_char; 32], pub code: [c_char; 32], pub location: c_ulong, pub ctrlKey: c_int, pub shiftKey: c_int, pub altKey: c_int, pub metaKey: c_int, pub repeat: c_int, pub locale: [c_char; 32], pub charValue: [c_char; 32], pub charCode: c_ulong, pub keyCode: c_ulong, pub which: c_ulong, }
Fields
key: [c_char; 32]
code: [c_char; 32]
location: c_ulong
ctrlKey: c_int
shiftKey: c_int
altKey: c_int
metaKey: c_int
repeat: c_int
locale: [c_char; 32]
charValue: [c_char; 32]
charCode: c_ulong
keyCode: c_ulong
which: c_ulong
Trait Implementations
impl Debug for EmscriptenKeyboardEvent
[src]
impl Copy for EmscriptenKeyboardEvent
[src]
impl Clone for EmscriptenKeyboardEvent
[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