Struct worker::CloseEvent
source · [−]pub struct CloseEvent { /* private fields */ }Expand description
Wrapper/Utility struct for the web_sys::CloseEvent
Implementations
sourceimpl CloseEvent
impl CloseEvent
Trait Implementations
sourceimpl AsRef<CloseEvent> for CloseEvent
impl AsRef<CloseEvent> for CloseEvent
sourcefn as_ref(&self) -> &CloseEvent
fn as_ref(&self) -> &CloseEvent
Performs the conversion.
sourceimpl Clone for CloseEvent
impl Clone for CloseEvent
sourcefn clone(&self) -> CloseEvent
fn clone(&self) -> CloseEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CloseEvent
impl Debug for CloseEvent
sourceimpl From<CloseEvent> for CloseEvent
impl From<CloseEvent> for CloseEvent
sourcefn from(event: CloseEvent) -> Self
fn from(event: CloseEvent) -> Self
Performs the conversion.
sourceimpl PartialEq<CloseEvent> for CloseEvent
impl PartialEq<CloseEvent> for CloseEvent
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &CloseEvent) -> bool
fn ne(&self, other: &CloseEvent) -> bool
This method tests for !=.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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