Struct web_dom::KeyEventHandler
source · [−]pub struct KeyEventHandler {
pub handler: Option<Box<dyn Sync + FnMut(KeyEvent) + Send + 'static>>,
}
Fields
handler: Option<Box<dyn Sync + FnMut(KeyEvent) + Send + 'static>>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for KeyEventHandler
impl Send for KeyEventHandler
impl Sync for KeyEventHandler
impl Unpin for KeyEventHandler
impl !UnwindSafe for KeyEventHandler
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