pub struct FunctionSignature {
pub name: String,
pub params_ty: &'static [ValType],
pub results_ty: &'static [ValType],
pub export: bool,
}
Expand description
Describes the signature of a function: its name, parameters, results, and export status.
Fields§
§name: String
§params_ty: &'static [ValType]
§results_ty: &'static [ValType]
§export: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionSignature
impl RefUnwindSafe for FunctionSignature
impl Send for FunctionSignature
impl Sync for FunctionSignature
impl Unpin for FunctionSignature
impl UnwindSafe for FunctionSignature
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