Struct wasm_bridge_js::TupleWrapper2
source · pub struct TupleWrapper2<T0, T1>(pub T0, pub T1);Tuple Fields§
§0: T0§1: T1Trait Implementations§
source§impl<T0: Into<JsValue>, T1: Into<JsValue>> ReturnWasmAbi for TupleWrapper2<T0, T1>
impl<T0: Into<JsValue>, T1: Into<JsValue>> ReturnWasmAbi for TupleWrapper2<T0, T1>
§type Abi = <JsValue as IntoWasmAbi>::Abi
type Abi = <JsValue as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn return_abi(self) -> Self::Abi
fn return_abi(self) -> Self::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.impl<T0: WasmAbi, T1: WasmAbi> WasmAbi for TupleWrapper2<T0, T1>
Auto Trait Implementations§
impl<T0, T1> RefUnwindSafe for TupleWrapper2<T0, T1>where T0: RefUnwindSafe, T1: RefUnwindSafe,
impl<T0, T1> Send for TupleWrapper2<T0, T1>where T0: Send, T1: Send,
impl<T0, T1> Sync for TupleWrapper2<T0, T1>where T0: Sync, T1: Sync,
impl<T0, T1> Unpin for TupleWrapper2<T0, T1>where T0: Unpin, T1: Unpin,
impl<T0, T1> UnwindSafe for TupleWrapper2<T0, T1>where T0: UnwindSafe, T1: UnwindSafe,
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