Enum web::InvokeParam
source · 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.