pub trait LiveSurface {
// Required methods
fn open(&mut self, resource: &str, pane: &str) -> SimResult<Expr>;
fn submit(
&mut self,
pane: &str,
intent: &Expr,
) -> SimResult<Vec<SceneUpdate>>;
}Expand description
One browser-owned reversible surface.
The shell owns lifecycle and opaque browser ids; a product supplies one of these objects per browser when it needs a non-fixture transport or codec.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".