pub fn emit_expression<O: Write + ?Sized>(
    expression: &Expression,
    output: &mut O,
) -> Result<usize, EmitError> {
    let mut bytes = 0;
    let expression = expression;

    for instruction in expression.instructions() {
        bytes += emit_instruction(instruction, output)?;
    }

    bytes += emit_byte(0x0Bu8, output)?;

    Ok(bytes)
}
/// Emit an expression to the output.
///
/// See https://webassembly.github.io/spec/core/binary/instructions.html#expressions
Emit an expression to the output.
Emit an expression to the output .
pub fn emit_expression<O: Write + ?Sized>(
    expression: &Expression,
    output: &mut O,
) -> Result<usize, EmitError> {
    let mut bytes = 0;
    let expression = expression;
    for instruction in expression.instructions() {
        bytes += emit_instruction(instruction, output)?;
    }
    bytes += emit_byte(0x0Bu8, output)?;
    Ok(bytes)
}
pub fn emit_expression < O : Write + ? Sized > ( expression : & Expression , output : & mut O , ) -> Result < usize , EmitError > { let mut bytes = 0 ; let expression = expression ; for instruction in expression . instructions ( ) { bytes += emit_instruction ( instruction , output ) ? ; } bytes += emit_byte ( 0x0Bu8 , output ) ? ; Ok ( bytes ) }
Emit an expression to the output.
Emit an expression to the output .
expression
&Expression
output
&mut O
expression
&Expression
output
&mut O