#[repr(C)]pub struct EmscriptenWebSocketCreateAttributes {
pub url: *const c_char,
pub protocols: *const c_char,
pub createOnMainThread: bool,
}
Fields§
§url: *const c_char
§protocols: *const c_char
§createOnMainThread: bool
Trait Implementations§
Source§impl Clone for EmscriptenWebSocketCreateAttributes
impl Clone for EmscriptenWebSocketCreateAttributes
Source§fn clone(&self) -> EmscriptenWebSocketCreateAttributes
fn clone(&self) -> EmscriptenWebSocketCreateAttributes
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 EmscriptenWebSocketCreateAttributes
Auto Trait Implementations§
impl Freeze for EmscriptenWebSocketCreateAttributes
impl RefUnwindSafe for EmscriptenWebSocketCreateAttributes
impl !Send for EmscriptenWebSocketCreateAttributes
impl !Sync for EmscriptenWebSocketCreateAttributes
impl Unpin for EmscriptenWebSocketCreateAttributes
impl UnwindSafe for EmscriptenWebSocketCreateAttributes
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