Skip to main content

load

Function load 

Source
pub fn load(app_id: &str) -> WindowState
Expand description

Load the persisted state for app_id, returning a fresh default when the file doesn’t exist or fails to parse (corrupted state shouldn’t brick the app - just discard).