Struct wasm_graph::FuncBody
source · pub struct FuncBody {
pub locals: Vec<Local>,
pub code: Vec<Instruction>,
}
Expand description
Function body.
Function consist of declaration (signature, i.e. type reference) and the actual code. This part is the actual code.
Fields§
§locals: Vec<Local>
Function local variables (wasm stack).
code: Vec<Instruction>
Function code.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FuncBody
impl !Send for FuncBody
impl !Sync for FuncBody
impl Unpin for FuncBody
impl !UnwindSafe for FuncBody
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