pub struct EngineConfig {
pub binary: PerPlatform,
pub package: Option<String>,
pub build: Vec<String>,
pub data_dir_env: Option<String>,
pub data_dir_arg: Option<String>,
pub forbidden_args: Vec<String>,
pub env: BTreeMap<String, String>,
}Fields§
§binary: PerPlatform§package: Option<String>§build: Vec<String>§data_dir_env: Option<String>Env var that receives the per-scenario data dir. Required for any engine step: a launch
that names no isolated data directory is refused (see userdata::check_engine_launch).
data_dir_arg: Option<String>Flag the engine takes its data dir under (e.g. --data-dir), when a step names the
isolated directory in its arguments instead of through data_dir_env.
forbidden_args: Vec<String>Flags that select the real library (e.g. --use-user-library); a step whose arguments
contain one is refused.
env: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§impl Debug for EngineConfig
impl Debug for EngineConfig
Source§impl Default for EngineConfig
impl Default for EngineConfig
Source§impl<'de> Deserialize<'de> for EngineConfig
impl<'de> Deserialize<'de> for EngineConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more