#[repr(C)]pub struct EmscriptenWebSocketCloseEvent {
pub socket: c_int,
pub wasClean: bool,
pub code: c_ushort,
pub reason: [c_char; 512],
}
Fields§
§socket: c_int
§wasClean: bool
§code: c_ushort
§reason: [c_char; 512]
Trait Implementations§
Source§impl Clone for EmscriptenWebSocketCloseEvent
impl Clone for EmscriptenWebSocketCloseEvent
Source§fn clone(&self) -> EmscriptenWebSocketCloseEvent
fn clone(&self) -> EmscriptenWebSocketCloseEvent
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 moreimpl Copy for EmscriptenWebSocketCloseEvent
Auto Trait Implementations§
impl Freeze for EmscriptenWebSocketCloseEvent
impl RefUnwindSafe for EmscriptenWebSocketCloseEvent
impl Send for EmscriptenWebSocketCloseEvent
impl Sync for EmscriptenWebSocketCloseEvent
impl Unpin for EmscriptenWebSocketCloseEvent
impl UnwindSafe for EmscriptenWebSocketCloseEvent
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