Struct parity_wasm::builder::FunctionDefinition
source · Expand description
Function definition (extended structure to specify function entirely, incl. signature, mainness and code)
Fields
is_main: bool
Is this function is start function
signature: Signature
Signature description
code: FuncBody
Body (code) of the function
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FunctionDefinition
impl Send for FunctionDefinition
impl Sync for FunctionDefinition
impl Unpin for FunctionDefinition
impl UnwindSafe for FunctionDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more