pub struct PreconnectOptions { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for PreconnectOptions
impl Clone for PreconnectOptions
Source§fn clone(&self) -> PreconnectOptions
fn clone(&self) -> PreconnectOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreconnectOptions
impl Debug for PreconnectOptions
impl Eq for PreconnectOptions
Source§impl From<PreconnectOptions> for JsValue
impl From<PreconnectOptions> for JsValue
Source§fn from(value: PreconnectOptions) -> Self
fn from(value: PreconnectOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for PreconnectOptions
impl FromWasmAbi for PreconnectOptions
Source§impl IntoWasmAbi for PreconnectOptions
impl IntoWasmAbi for PreconnectOptions
Source§impl LongRefFromWasmAbi for PreconnectOptions
impl LongRefFromWasmAbi for PreconnectOptions
Source§type Abi = WasmPtr<WasmRefCell<PreconnectOptions>>
type Abi = WasmPtr<WasmRefCell<PreconnectOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<PreconnectOptions>
type Anchor = RcRef<PreconnectOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl PartialEq for PreconnectOptions
impl PartialEq for PreconnectOptions
Source§fn eq(&self, other: &PreconnectOptions) -> bool
fn eq(&self, other: &PreconnectOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for PreconnectOptions
impl RefFromWasmAbi for PreconnectOptions
Source§type Abi = WasmPtr<WasmRefCell<PreconnectOptions>>
type Abi = WasmPtr<WasmRefCell<PreconnectOptions>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<PreconnectOptions>
type Anchor = RcRef<PreconnectOptions>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for PreconnectOptions
impl RefMutFromWasmAbi for PreconnectOptions
Source§type Abi = WasmPtr<WasmRefCell<PreconnectOptions>>
type Abi = WasmPtr<WasmRefCell<PreconnectOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<PreconnectOptions>
type Anchor = RcRefMut<PreconnectOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for PreconnectOptions
impl SupportsConstructor for PreconnectOptions
impl SupportsInstanceProperty for PreconnectOptions
impl SupportsStaticProperty for PreconnectOptions
Source§impl TryFromJsValue for PreconnectOptions
impl TryFromJsValue for PreconnectOptions
Source§impl VectorFromWasmAbi for PreconnectOptions
impl VectorFromWasmAbi for PreconnectOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PreconnectOptions]>
Source§impl VectorIntoWasmAbi for PreconnectOptions
impl VectorIntoWasmAbi for PreconnectOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PreconnectOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for PreconnectOptions
impl WasmDescribeVector for PreconnectOptions
Auto Trait Implementations§
impl Freeze for PreconnectOptions
impl RefUnwindSafe for PreconnectOptions
impl Send for PreconnectOptions
impl Sync for PreconnectOptions
impl Unpin for PreconnectOptions
impl UnsafeUnpin for PreconnectOptions
impl UnwindSafe for PreconnectOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.