Struct parity_wasm::elements::Instructions [−][src]
pub struct Instructions(_);
List of instructions (usually inside a block section).
Implementations
impl Instructions[src]
impl Instructions[src]pub fn new(elements: Vec<Instruction>) -> Self[src]
New list of instructions from vector of instructions.
pub fn empty() -> Self[src]
Empty expression with only Instruction::End instruction.
pub fn elements(&self) -> &[Instruction][src]
List of individual instructions.
pub fn elements_mut(&mut self) -> &mut Vec<Instruction>[src]
Individual instructions, mutable.
Trait Implementations
impl Clone for Instructions[src]
impl Clone for Instructions[src]fn clone(&self) -> Instructions[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Deserialize for Instructions[src]
impl Deserialize for Instructions[src]impl PartialEq<Instructions> for Instructions[src]
impl PartialEq<Instructions> for Instructions[src]fn eq(&self, other: &Instructions) -> bool[src]
fn ne(&self, other: &Instructions) -> bool[src]
impl Serialize for Instructions[src]
impl Serialize for Instructions[src]