Struct spair::FocusEvent
source · pub struct FocusEvent(_);
Implementations
sourceimpl FocusEvent
impl FocusEvent
pub fn raw(&self) -> &FocusEvent
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 FocusEvent
impl !Send for FocusEvent
impl !Sync for FocusEvent
impl Unpin for FocusEvent
impl UnwindSafe for FocusEvent
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