pub enum EventType {
Show 18 variants
Click,
MouseDown,
MouseUp,
MouseMove,
MouseOver,
MouseOut,
KeyDown,
KeyUp,
KeyPress,
Focus,
Blur,
Submit,
Input,
Change,
Scroll,
Load,
Unload,
Resize,
}Expand description
DOM event type enumeration
Variants§
Click
MouseDown
MouseUp
MouseMove
MouseOver
MouseOut
KeyDown
KeyUp
KeyPress
Focus
Blur
Submit
Input
Change
Scroll
Load
Unload
Resize
Implementations§
Source§impl EventType
impl EventType
Sourcepub fn bubbles_default(self) -> bool
pub fn bubbles_default(self) -> bool
Whether this event type bubbles by default
Sourcepub fn cancelable_default(self) -> bool
pub fn cancelable_default(self) -> bool
Whether this event type is cancelable by default
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)