Trait wasmtime_environ::wasm::wasmparser::WasmFuncType [−][src]
pub trait WasmFuncType { fn len_inputs(&self) -> usize; fn len_outputs(&self) -> usize; fn input_at(&self, at: u32) -> Option<Type>; fn output_at(&self, at: u32) -> Option<Type>; fn inputs(&self) -> WasmFuncTypeInputs<'_, Self>ⓘ{ ... } fn outputs(&self) -> WasmFuncTypeOutputs<'_, Self>ⓘNotable traits for WasmFuncTypeInputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeInputs<'_, T> where
T: WasmFuncType, type Item = Type;{ ... } }Notable traits for WasmFuncTypeOutputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeOutputs<'_, T> where
T: WasmFuncType, type Item = Type;
Expand description
Types that qualify as Wasm function types for validation purposes.
Required methods
fn len_inputs(&self) -> usize
[src]
fn len_inputs(&self) -> usize
[src]Returns the number of input types.
Provided methods
fn inputs(&self) -> WasmFuncTypeInputs<'_, Self>ⓘNotable traits for WasmFuncTypeInputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeInputs<'_, T> where
T: WasmFuncType, type Item = Type;
[src]
fn inputs(&self) -> WasmFuncTypeInputs<'_, Self>ⓘNotable traits for WasmFuncTypeInputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeInputs<'_, T> where
T: WasmFuncType, type Item = Type;
[src]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;
[src]
fn outputs(&self) -> WasmFuncTypeOutputs<'_, Self>ⓘNotable traits for WasmFuncTypeOutputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeOutputs<'_, T> where
T: WasmFuncType, type Item = Type;
[src]Returns the list of outputs as an iterator.
Implementations on Foreign Types
impl<'_, T> WasmFuncType for &'_ T where
T: WasmFuncType + ?Sized,
[src]
impl<'_, T> WasmFuncType for &'_ T where
T: WasmFuncType + ?Sized,
[src]