Struct wasmtime_environ::wasm::wasmparser::FuncType [−][src]
Fields
params: Box<[Type], Global>
returns: Box<[Type], Global>
Trait Implementations
impl Clone for FuncType
[src]
impl Debug for FuncType
[src]
impl Eq for FuncType
[src]
impl Hash for FuncType
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<FuncType> for FuncType
[src]
impl StructuralEq for FuncType
[src]
impl StructuralPartialEq for FuncType
[src]
impl TryFrom<FuncType> for WasmFuncType
[src]
type Error = WasmError
The type returned in the event of a conversion error.
pub fn try_from(
ty: FuncType
) -> Result<WasmFuncType, <WasmFuncType as TryFrom<FuncType>>::Error>
[src]
ty: FuncType
) -> Result<WasmFuncType, <WasmFuncType as TryFrom<FuncType>>::Error>
impl WasmFuncType for FuncType
[src]
pub fn len_inputs(&self) -> usize
[src]
pub fn len_outputs(&self) -> usize
[src]
pub fn input_at(&self, at: u32) -> Option<Type>
[src]
pub fn output_at(&self, at: u32) -> Option<Type>
[src]
pub fn inputs(&self) -> WasmFuncTypeInputs<'_, Self>ⓘNotable traits for WasmFuncTypeInputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeInputs<'_, T> where
T: WasmFuncType, type Item = Type;
[src]
Notable traits for WasmFuncTypeInputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeInputs<'_, T> where
T: WasmFuncType, type Item = Type;
pub fn outputs(&self) -> WasmFuncTypeOutputs<'_, Self>ⓘNotable traits for WasmFuncTypeOutputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeOutputs<'_, T> where
T: WasmFuncType, type Item = Type;
[src]
Notable traits for WasmFuncTypeOutputs<'_, T>
impl<'_, T> Iterator for WasmFuncTypeOutputs<'_, T> where
T: WasmFuncType, type Item = Type;
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash,
[src]
T: Hash,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,