pub enum Event {
WebEvent(Event),
MountEvent(MountEvent),
}
Expand description
Map the Event to DomEvent, which are browser events
Variants
WebEvent(Event)
native dome events web_sys::Events
MountEvent(MountEvent)
custom event here follows
Implementations
Trait Implementations
sourceimpl From<MountEvent> for Event
impl From<MountEvent> for Event
sourcefn from(mount_event: MountEvent) -> Self
fn from(mount_event: MountEvent) -> Self
Performs the conversion.
sourceimpl From<MouseEvent> for Event
impl From<MouseEvent> for Event
sourcefn from(mouse_event: MouseEvent) -> Self
fn from(mouse_event: MouseEvent) -> Self
Performs the conversion.
impl StructuralPartialEq for Event
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 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more