Struct worker_plus::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 ==
.