[][src]Trait jsyc_compiler::bytecode::ToBytes

pub trait ToBytes {
    fn to_bytes(&self) -> Vec<u8>;

    fn length_in_bytes(&self) -> usize { ... }
}

This trait is implemented by elements that are part of the final bytecode

Required methods

fn to_bytes(&self) -> Vec<u8>

Loading content...

Provided methods

fn length_in_bytes(&self) -> usize

Loading content...

Implementors

impl ToBytes for BytecodeElement[src]

impl ToBytes for Operand[src]

impl ToBytes for Bytecode[src]

impl ToBytes for BytecodeAddrToken[src]

impl ToBytes for FunctionArguments[src]

impl ToBytes for LabelAddrToken[src]

impl ToBytes for Operation[src]

Loading content...