# MapWindowConfig in maplibre::window - Rust
A configuration for a window which determines the corresponding implementation of a `MapWindow` and is able to create it.

# Trait maplibre::window::MapWindowConfig

source ·

    pub trait MapWindowConfig: 'static + Clone {
        type MapWindow: MapWindow;

        // Required method
        fn create(&self) -> Self::MapWindow;
    }

Expand description

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

## Required Associated Types§

source

#### type MapWindow: MapWindow

## Required Methods§

source

#### fn create(&self) -> Self::MapWindow

## Object Safety§

This trait is not object safe.

## Implementors§