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