Trait fxbox_thinkerbell::compile::ExecutableDevEnv [] [src]

pub trait ExecutableDevEnv: Serialize + Deserialize + Default + Send {
    type WatchGuard;
    type API: API<WatchGuard=Self::WatchGuard>;
    fn api(&self) -> Self::API;
}

The environment in which the code is meant to be executed. This can typically be instantiated either with actual bindings to devices, or with a unit-testing framework. // FIXME: Move this to run.rs

Associated Types

type WatchGuard

type API: API<WatchGuard=Self::WatchGuard>

Required Methods

fn api(&self) -> Self::API

Implementors