Struct leptos::ev::beforeunload
source · pub struct beforeunload;
Expand description
The beforeunload
event, which receives BeforeUnloadEvent as its argument.
Trait Implementations§
source§impl Clone for beforeunload
impl Clone for beforeunload
source§fn clone(&self) -> beforeunload
fn clone(&self) -> beforeunload
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl EventDescriptor for beforeunload
impl EventDescriptor for beforeunload
§type EventType = BeforeUnloadEvent
type EventType = BeforeUnloadEvent
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.
impl Copy for beforeunload
Auto Trait Implementations§
impl RefUnwindSafe for beforeunload
impl Send for beforeunload
impl Sync for beforeunload
impl Unpin for beforeunload
impl UnwindSafe for beforeunload
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