pub trait ToBytecode<'a, E> {
// Required method
fn to_bytecode(&self) -> Result<Bytecode, E>;
}Expand description
ToBytecode
Converts a stateful object to bytecode
Required Methods§
Sourcefn to_bytecode(&self) -> Result<Bytecode, E>
fn to_bytecode(&self) -> Result<Bytecode, E>
Translates self to a bytecode string
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".