//! Window configuration — settings for creating new windows.
//!//! Pure data types. No windowing backend dependency.
/// Configuration for creating a new window.
////// Passed to `App::window()` or sent via `PlatformHost::create_window()`.
#[derive(Debug, Clone)]pubstructWindowConfig{/// Window title.
pubtitle: String,
/// Initial width in logical pixels.
pubwidth:u32,
/// Initial height in logical pixels.
pubheight:u32,
/// Whether the window can be resized by the user.
pubresizable:bool,
/// Whether the window has OS decorations (title bar, borders).
pubdecorations:bool,
}implDefault forWindowConfig{fndefault()->Self{Self{
title:String::from("Kozan"),
width:800,
height:600,
resizable:true,
decorations:true,}}}