Struct web_dom::KeyDownEvent [−][src]
pub struct KeyDownEvent { pub handle: JSObject, }
Fields
handle: JSObject
Implementations
impl KeyDownEvent
[src]
impl KeyDownEvent
[src]pub struct KeyDownEvent { pub handle: JSObject, }
handle: JSObject
impl KeyDownEvent
[src]pub fn from_event(ev: impl Into<JSObject>) -> KeyDownEvent
[src]pub fn key_code(&self) -> u32
[src]