Skip to main content

ToIRBytecode

Trait ToIRBytecode 

Source
pub trait ToIRBytecode<E> {
    // Required method
    fn to_irbytecode(
        &self,
        evm_version: &EVMVersion,
    ) -> Result<IRBytecode<'_>, E>;
}
Expand description

ToIRBytecode

Converts a stateful object to intermediate bytecode

Required Methods§

Source

fn to_irbytecode(&self, evm_version: &EVMVersion) -> Result<IRBytecode<'_>, E>

Translates self to intermediate bytecode representation

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§