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§
Sourcefn to_irbytecode(&self, evm_version: &EVMVersion) -> Result<IRBytecode<'_>, E>
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".