pub trait DocumentWorkspaceImpl: WorkspaceImpl {
// Provided methods
fn create_frame(&self, position: &Position) -> Frame { ... }
fn add_widget(&self, widget: &Widget, position: &Position) -> bool { ... }
}Provided Methods§
fn create_frame(&self, position: &Position) -> Frame
fn add_widget(&self, widget: &Widget, position: &Position) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.