Struct evm::factory::Factory [−][src]
pub struct Factory { /* fields omitted */ }
Evm factory. Creates appropriate Evm.
Methods
impl Factory
[src]
impl Factory
ⓘImportant traits for Box<R>pub fn create(&self, gas: &U256) -> Box<Vm>
[src]
ⓘImportant traits for Box<R>
pub fn create(&self, gas: &U256) -> Box<Vm>
Create fresh instance of VM Might choose implementation depending on supplied gas.
pub fn new(evm: VMType, cache_size: usize) -> Self
[src]
pub 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]
impl Clone for Factory
fn clone(&self) -> Factory
[src]
fn clone(&self) -> Factory
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Factory
[src]
impl Default for Factory