# HeadedMapWindow in maplibre::window - Rust
Window which references a physical `RawWindow`. This is only implemented by headed windows and not by headless windows.

# Trait maplibre::window::HeadedMapWindow

source ·

    pub trait HeadedMapWindow: MapWindow {
        type RawWindow: HasRawWindowHandle + HasRawDisplayHandle;

        // Required methods
        fn raw(&self) -> &Self::RawWindow;
        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.

## Required Associated Types§

source

#### type RawWindow: HasRawWindowHandle + HasRawDisplayHandle

## Required Methods§

source

#### fn raw(&self) -> &Self::RawWindow

source

#### fn request_redraw(&self)

source

#### fn scale_factor(&self) -> f64

source

#### fn id(&self) -> u64

## Implementors§