Struct wasmtime_environ::wasm::WasmFuncType [−][src]
pub struct WasmFuncType { pub params: Box<[WasmType], Global>, pub returns: Box<[WasmType], Global>, }
Expand description
WebAssembly function type – equivalent of wasmparser
’s FuncType.
Fields
params: Box<[WasmType], Global>
Function params types.
returns: Box<[WasmType], Global>
Returns params types.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<WasmFuncType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<WasmFuncType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for WasmFuncType
impl Send for WasmFuncType
impl Sync for WasmFuncType
impl Unpin for WasmFuncType
impl UnwindSafe for WasmFuncType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.