# maplibre::window - Rust
Utilities for the window system.
Keywords: rust, rustlang, rust-lang, window

# Module maplibre::window

source · [−]
Expand description

Utilities for the window system.

## Structs

WindowSize

Window size with a width and an height in pixels.

## Traits

EventLoop

The event loop is responsible for processing events and propagating them to the map renderer. Only non-headless windows use an `EventLoop`.

HeadedMapWindow

Window which references a physical `RawWindow`. This is only implemented by headed windows and not by headless windows.

MapWindow

Window of a certain `WindowSize`. This can either be a proper window or a headless one.

MapWindowConfig

A configuration for a window which determines the corresponding implementation of a `MapWindow` and is able to create it.