dampen-dev 0.3.1

Development mode tooling for Dampen - hot-reload, file watching, and error overlays
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Window state persistence module.
//!
//! This module handles saving and restoring window state (size, position, maximized)
//! across application restarts.

/// Persistence error types.
pub mod error;
/// Monitor validation utilities.
pub mod monitor;
/// Storage utilities for saving/loading window state.
pub mod storage;
/// Window state data structure.
pub mod window_state;

pub use error::PersistenceError;
pub use monitor::position_is_reasonable;
pub use storage::{WindowSettingsBuilder, get_config_path, load_or_default, save_window_state};
pub use window_state::WindowState;