Struct parity_wasm::builder::FunctionDefinition
source · pub struct FunctionDefinition {
pub is_main: bool,
pub signature: Signature,
pub code: FuncBody,
}
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§
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