pub struct Focus { /* private fields */ }Implementations§
Source§impl Focus
impl Focus
pub fn prevent_default(&self)
pub fn stop_propagation(&self)
pub fn stop_immediate_propagation(&self)
pub fn target(&self) -> Option<EventTarget>
pub fn dyn_target<A>(&self) -> Option<A>where
A: JsCast,
Trait Implementations§
Source§impl StaticEvent for Focus
impl StaticEvent for Focus
const EVENT_TYPE: &'static str = "focus"
fn unchecked_from_event(event: Event) -> Self
Auto Trait Implementations§
impl Freeze for Focus
impl RefUnwindSafe for Focus
impl !Send for Focus
impl !Sync for Focus
impl Unpin for Focus
impl UnwindSafe for Focus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more