Trait maplibre::window::HeadedMapWindow
source · pub trait HeadedMapWindow: MapWindow {
type WindowHandle: HasWindowHandle + HasDisplayHandle + Sync;
// Required methods
fn handle(&self) -> &Self::WindowHandle;
fn request_redraw(&self);
fn scale_factor(&self) -> f64;
fn id(&self) -> u64;
}
Expand description
Window which references a physical RawWindow
. This is only implemented by headed windows and
not by headless windows.