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