pub trait LiveSurfaceFactory {
// Required method
fn create(&self) -> SimResult<Box<dyn LiveSurface>>;
}Expand description
Object-safe factory for isolated browser-owned live surfaces.
Required Methods§
Sourcefn create(&self) -> SimResult<Box<dyn LiveSurface>>
fn create(&self) -> SimResult<Box<dyn LiveSurface>>
Construct one fresh surface, including its transport, authority, and session-local presentation state.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".