pub struct Function {
pub kind: FunctionKind,
pub name: Option<String>,
/* private fields */
}
Expand description
A wasm function.
Either defined locally or externally and then imported; see FunctionKind
.
Fields§
§kind: FunctionKind
The kind of function this is.
name: Option<String>
An optional name associated with this function
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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