1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/// The runtime configuration of the execution engine #[derive(Debug, Clone)] pub struct EngineConfig { // feature flags go here } impl EngineConfig { /// Creates a new engine configuration with default parameters. pub fn new() -> EngineConfig { Default::default() } } impl Default for EngineConfig { fn default() -> Self { EngineConfig {} } }