Skip to main content

Module persistence

Module persistence 

Source
Expand description

Window state persistence module.

This module handles saving and restoring window state (size, position, maximized) across application restarts.

Re-exports§

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

Modules§

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