pub struct WasmLibrary { /* private fields */ }
Implementations§
Source§impl WasmLibrary
impl WasmLibrary
Trait Implementations§
Source§impl From<WasmLibrary> for JsValue
impl From<WasmLibrary> for JsValue
Source§fn from(value: WasmLibrary) -> Self
fn from(value: WasmLibrary) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmLibrary
impl FromWasmAbi for WasmLibrary
Source§impl IntoWasmAbi for WasmLibrary
impl IntoWasmAbi for WasmLibrary
Source§impl LongRefFromWasmAbi for WasmLibrary
impl LongRefFromWasmAbi for WasmLibrary
Source§impl OptionFromWasmAbi for WasmLibrary
impl OptionFromWasmAbi for WasmLibrary
Source§impl OptionIntoWasmAbi for WasmLibrary
impl OptionIntoWasmAbi for WasmLibrary
Source§impl RefFromWasmAbi for WasmLibrary
impl RefFromWasmAbi for WasmLibrary
Source§type Anchor = RcRef<WasmLibrary>
type Anchor = RcRef<WasmLibrary>
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 WasmLibrary
impl RefMutFromWasmAbi for WasmLibrary
Source§impl TryFromJsValue for WasmLibrary
impl TryFromJsValue for WasmLibrary
Source§impl VectorFromWasmAbi for WasmLibrary
impl VectorFromWasmAbi for WasmLibrary
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmLibrary]>
Source§impl VectorIntoJsValue for WasmLibrary
impl VectorIntoJsValue for WasmLibrary
fn vector_into_jsvalue(vector: Box<[WasmLibrary]>) -> JsValue
Source§impl VectorIntoWasmAbi for WasmLibrary
impl VectorIntoWasmAbi for WasmLibrary
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmLibrary]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmLibrary
impl WasmDescribeVector for WasmLibrary
impl SupportsConstructor for WasmLibrary
impl SupportsInstanceProperty for WasmLibrary
impl SupportsStaticProperty for WasmLibrary
Auto Trait Implementations§
impl Freeze for WasmLibrary
impl !RefUnwindSafe for WasmLibrary
impl !Send for WasmLibrary
impl !Sync for WasmLibrary
impl Unpin for WasmLibrary
impl !UnwindSafe for WasmLibrary
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> 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::Abi
Source§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
.