Struct wasmtime_environ::wasm::wasmparser::FuncType [−][src]
Fields
params: Box<[Type], Global>
returns: Box<[Type], Global>
Trait Implementations
impl TryFrom<FuncType> for WasmFuncType
[src]
impl TryFrom<FuncType> for WasmFuncType
[src]impl WasmFuncType for FuncType
[src]
impl WasmFuncType for FuncType
[src]pub fn len_inputs(&self) -> usize
[src]
pub fn len_inputs(&self) -> usize
[src]Returns the number of input types.
pub fn len_outputs(&self) -> usize
[src]
pub fn len_outputs(&self) -> usize
[src]Returns the number of output types.
pub fn input_at(&self, at: u32) -> Option<Type>
[src]
pub fn input_at(&self, at: u32) -> Option<Type>
[src]Returns the type at given index if any. Read more
pub fn output_at(&self, at: u32) -> Option<Type>
[src]
pub fn output_at(&self, at: u32) -> Option<Type>
[src]Returns the type at given index if any. Read more
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.
impl Eq for FuncType
[src]
impl StructuralEq for FuncType
[src]
impl StructuralPartialEq for FuncType
[src]
Auto Trait Implementations
impl RefUnwindSafe for FuncType
impl Send for FuncType
impl Sync for FuncType
impl Unpin for FuncType
impl UnwindSafe for FuncType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more