Struct leptos_dom::ev::Custom
source · pub struct Custom<E: FromWasmAbi = Event> { /* private fields */ }
Expand description
A custom event.
Implementations§
Trait Implementations§
source§impl<E: FromWasmAbi> Clone for Custom<E>
impl<E: FromWasmAbi> Clone for Custom<E>
source§impl<E: FromWasmAbi> EventDescriptor for Custom<E>
impl<E: FromWasmAbi> EventDescriptor for Custom<E>
§type EventType = E
type EventType = E
The
web_sys
event type, such as web_sys::MouseEvent
.source§fn event_delegation_key(&self) -> Cow<'static, str>
fn event_delegation_key(&self) -> Cow<'static, str>
The key used for event delegation.
Auto Trait Implementations§
impl<E> RefUnwindSafe for Custom<E>where E: RefUnwindSafe,
impl<E> Send for Custom<E>where E: Send,
impl<E> Sync for Custom<E>where E: Sync,
impl<E> Unpin for Custom<E>where E: Unpin,
impl<E> UnwindSafe for Custom<E>where E: UnwindSafe,
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