pub struct FuncType { /* private fields */ }Expand description
The type of a Func.
Implementations§
Source§impl FuncType
impl FuncType
Sourcepub fn new(
params: impl IntoIterator<Item = ValType>,
results: impl IntoIterator<Item = ValType>,
) -> Self
pub fn new( params: impl IntoIterator<Item = ValType>, results: impl IntoIterator<Item = ValType>, ) -> Self
Creates a new FuncType with the given parameters and results.
Trait Implementations§
Source§impl From<FuncType> for ExternType
impl From<FuncType> for ExternType
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