Struct parity_wasm_cp::elements::FuncBody[][src]

pub struct FuncBody { /* fields omitted */ }

Function body definition.

Methods

impl FuncBody
[src]

New function body with given locals and instructions

List of individual instructions

Locals declared in function body.

Instruction list of the function body. Minimal instruction list is just &[Instruction::End]

Locals declared in function body (mutable).

Instruction list of the function body (mutable).

Trait Implementations

impl Debug for FuncBody
[src]

Formats the value using the given formatter. Read more

impl Clone for FuncBody
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FuncBody
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Deserialize for FuncBody
[src]

Serialization error produced by deserialization routine.

Deserialize type from serial i/o

impl Serialize for FuncBody
[src]

Serialization error produced by serialization routine.

Serialize type to serial i/o

Auto Trait Implementations

impl Send for FuncBody

impl Sync for FuncBody