create_engine

Function create_engine 

Source
pub fn create_engine<D: EngineDatabaseInterface + Clone + Debug>(
    db: D,
    trace: bool,
) -> Result<SimulationEngine<D>, SimulationError>
Expand description

Creates a simulation engine.

ยงParameters

  • trace: Whether to trace calls. Only meant for debugging purposes, might print a lot of data to stdout.