Struct spair::KeyboardEvent
source · pub struct KeyboardEvent(_);
Implementations
sourceimpl KeyboardEvent
impl KeyboardEvent
pub fn raw(&self) -> &KeyboardEvent
pub fn target(&self) -> Option<EventTarget>
pub fn target_as<T: JsCast>(&self) -> Option<T>
pub fn current_target(&self) -> Option<EventTarget>
pub fn current_target_as<T: JsCast>(&self) -> Option<T>
Auto Trait Implementations
impl RefUnwindSafe for KeyboardEvent
impl !Send for KeyboardEvent
impl !Sync for KeyboardEvent
impl Unpin for KeyboardEvent
impl UnwindSafe for KeyboardEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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