Struct web_dom::KeyDownEvent
source · [−]pub struct KeyDownEvent {
pub handle: JSObject,
}
Fields
handle: JSObject
Implementations
sourceimpl KeyDownEvent
impl KeyDownEvent
pub fn from_event(ev: impl Into<JSObject>) -> KeyDownEvent
pub fn key_code(&self) -> u32
Auto Trait Implementations
impl RefUnwindSafe for KeyDownEvent
impl Send for KeyDownEvent
impl Sync for KeyDownEvent
impl Unpin for KeyDownEvent
impl UnwindSafe for KeyDownEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more