Struct ethcore::evm::factory::Factory
[−]
[src]
pub struct Factory { /* fields omitted */ }
Evm factory. Creates appropriate Evm.
Methods
impl Factory
[src]
fn create(&self, gas: U256) -> Box<Evm>
Create fresh instance of VM Might choose implementation depending on supplied gas.
fn new(evm: VMType, cache_size: usize) -> Self
Create new instance of specific VMType
factory, with a size in bytes
for caching jump destinations.
Trait Implementations
impl Clone for Factory
[src]
fn clone(&self) -> Factory
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more