pub struct Event(_);
Implementations
sourceimpl Event
impl Event
pub fn raw(&self) -> &Event
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>
sourceimpl Event
impl Event
pub fn current_target_as_select_element(&self) -> Option<HtmlSelectElement>
Auto Trait Implementations
impl RefUnwindSafe for Event
impl !Send for Event
impl !Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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