pub trait MapWindowConfig: 'static + Clone {
type MapWindow: MapWindow;
// Required method
fn create(&self) -> Result<Self::MapWindow, WindowCreateError>;
}Expand description
A configuration for a window which determines the corresponding implementation of a
MapWindow and is able to create it.
Required Associated Types§
Required Methods§
fn create(&self) -> Result<Self::MapWindow, WindowCreateError>
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.