Struct worker::CloseEvent
source · pub struct CloseEvent { /* private fields */ }
Expand description
Wrapper/Utility struct for the web_sys::CloseEvent
Implementations§
Trait Implementations§
source§impl AsRef<CloseEvent> for CloseEvent
impl AsRef<CloseEvent> for CloseEvent
source§fn as_ref(&self) -> &CloseEvent
fn as_ref(&self) -> &CloseEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for CloseEvent
impl Clone for CloseEvent
source§fn clone(&self) -> CloseEvent
fn clone(&self) -> CloseEvent
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 Debug for CloseEvent
impl Debug for CloseEvent
source§impl From<CloseEvent> for CloseEvent
impl From<CloseEvent> for CloseEvent
source§fn from(event: CloseEvent) -> Self
fn from(event: CloseEvent) -> Self
Converts to this type from the input type.
source§impl PartialEq<CloseEvent> for CloseEvent
impl PartialEq<CloseEvent> for CloseEvent
source§fn eq(&self, other: &CloseEvent) -> bool
fn eq(&self, other: &CloseEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CloseEvent
impl StructuralEq for CloseEvent
impl StructuralPartialEq for CloseEvent
Auto Trait Implementations§
impl RefUnwindSafe for CloseEvent
impl !Send for CloseEvent
impl !Sync for CloseEvent
impl Unpin for CloseEvent
impl UnwindSafe for CloseEvent
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