pub struct FuncType { /* private fields */ }Expand description
A Wasm function descriptor.
Implementations§
Source§impl FuncType
impl FuncType
Sourcepub fn new<P, R>(params: P, results: R) -> Selfwhere
P: IntoIterator,
R: IntoIterator,
<P as IntoIterator>::IntoIter: Iterator<Item = ValType> + ExactSizeIterator,
<R as IntoIterator>::IntoIter: Iterator<Item = ValType> + ExactSizeIterator,
pub fn new<P, R>(params: P, results: R) -> Selfwhere
P: IntoIterator,
R: IntoIterator,
<P as IntoIterator>::IntoIter: Iterator<Item = ValType> + ExactSizeIterator,
<R as IntoIterator>::IntoIter: Iterator<Item = ValType> + ExactSizeIterator,
Trait Implementations§
Source§impl From<FuncType> for ExternType
impl From<FuncType> for ExternType
Source§impl Ord for FuncType
impl Ord for FuncType
Source§impl PartialOrd for FuncType
impl PartialOrd for FuncType
impl Eq for FuncType
impl StructuralPartialEq for FuncType
Auto Trait Implementations§
impl Freeze for FuncType
impl RefUnwindSafe for FuncType
impl Send for FuncType
impl Sync for FuncType
impl Unpin for FuncType
impl UnwindSafe for FuncType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more