pub enum InvokeParam<'a> {
Undefined,
Null,
Float64(f64),
BigInt(i64),
String(&'a str),
ExternRef(&'a ExternRef),
Float32Array(&'a [f32]),
Float64Array(&'a [f64]),
Bool(bool),
Uint32Array(&'a [u32]),
}
Variants§
Undefined
Null
Float64(f64)
BigInt(i64)
String(&'a str)
ExternRef(&'a ExternRef)
Float32Array(&'a [f32])
Float64Array(&'a [f64])
Bool(bool)
Uint32Array(&'a [u32])
Trait Implementations§
Source§impl<'a> From<&'a [f32]> for InvokeParam<'a>
impl<'a> From<&'a [f32]> for InvokeParam<'a>
Source§fn from(a: &'a [f32]) -> InvokeParam<'a>
fn from(a: &'a [f32]) -> InvokeParam<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a [f64]> for InvokeParam<'a>
impl<'a> From<&'a [f64]> for InvokeParam<'a>
Source§fn from(a: &'a [f64]) -> InvokeParam<'a>
fn from(a: &'a [f64]) -> InvokeParam<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a [u32]> for InvokeParam<'a>
impl<'a> From<&'a [u32]> for InvokeParam<'a>
Source§fn from(a: &'a [u32]) -> InvokeParam<'a>
fn from(a: &'a [u32]) -> InvokeParam<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExternRef> for InvokeParam<'a>
impl<'a> From<&'a ExternRef> for InvokeParam<'a>
Source§fn from(i: &'a ExternRef) -> InvokeParam<'a>
fn from(i: &'a ExternRef) -> InvokeParam<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a str> for InvokeParam<'a>
impl<'a> From<&'a str> for InvokeParam<'a>
Source§fn from(s: &'a str) -> InvokeParam<'a>
fn from(s: &'a str) -> InvokeParam<'a>
Converts to this type from the input type.
Source§impl From<bool> for InvokeParam<'_>
impl From<bool> for InvokeParam<'_>
Source§fn from(b: bool) -> InvokeParam<'_>
fn from(b: bool) -> InvokeParam<'_>
Converts to this type from the input type.
Source§impl From<f64> for InvokeParam<'_>
impl From<f64> for InvokeParam<'_>
Source§fn from(f: f64) -> InvokeParam<'_>
fn from(f: f64) -> InvokeParam<'_>
Converts to this type from the input type.
Source§impl From<i32> for InvokeParam<'_>
impl From<i32> for InvokeParam<'_>
Source§fn from(i: i32) -> InvokeParam<'_>
fn from(i: i32) -> InvokeParam<'_>
Converts to this type from the input type.
Source§impl From<i64> for InvokeParam<'_>
impl From<i64> for InvokeParam<'_>
Source§fn from(i: i64) -> InvokeParam<'_>
fn from(i: i64) -> InvokeParam<'_>
Converts to this type from the input type.
Source§impl From<usize> for InvokeParam<'_>
impl From<usize> for InvokeParam<'_>
Source§fn from(i: usize) -> InvokeParam<'_>
fn from(i: usize) -> InvokeParam<'_>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for InvokeParam<'a>
impl<'a> RefUnwindSafe for InvokeParam<'a>
impl<'a> Send for InvokeParam<'a>
impl<'a> Sync for InvokeParam<'a>
impl<'a> Unpin for InvokeParam<'a>
impl<'a> UnwindSafe for InvokeParam<'a>
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