Trait traffloat_client::interface::Server[][src]

pub trait Server: 'static {
    fn receive(&mut self) -> Result<Option<Event>>;
fn load_asset(&self, name: &str) -> String; }
Expand description

An abstraction of the simulation source.

Required methods

Receives an event from the simulation source.

Resolves the path to load an image asset file.

Implementors