Struct holochain_wasmer_host::prelude::wasmparser::FuncType [−]
Fields
params: Box<[Type], Global>
returns: Box<[Type], Global>
Trait Implementations
impl WasmFuncType for FuncType
impl WasmFuncType for FuncType
pub fn len_inputs(&self) -> usize
pub fn len_inputs(&self) -> usize
Returns the number of input types.
pub fn len_outputs(&self) -> usize
pub fn len_outputs(&self) -> usize
Returns the number of output types.
fn inputs(&self) -> WasmFuncTypeInputs<'_, Self>ⓘNotable traits for WasmFuncTypeInputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeInputs<'_, T> where
T: WasmFuncType, type Item = Type;
fn inputs(&self) -> WasmFuncTypeInputs<'_, Self>ⓘNotable traits for WasmFuncTypeInputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeInputs<'_, T> where
T: WasmFuncType, type Item = Type;
Returns the list of inputs as an iterator.
fn outputs(&self) -> WasmFuncTypeOutputs<'_, Self>ⓘNotable traits for WasmFuncTypeOutputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeOutputs<'_, T> where
T: WasmFuncType, type Item = Type;
fn outputs(&self) -> WasmFuncTypeOutputs<'_, Self>ⓘNotable traits for WasmFuncTypeOutputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeOutputs<'_, T> where
T: WasmFuncType, type Item = Type;
Returns the list of outputs as an iterator.
impl StructuralEq for FuncType
impl StructuralPartialEq for FuncType
Auto Trait Implementations
impl RefUnwindSafe for FuncType
impl UnwindSafe for FuncType
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more