Trait AppHandleExt

Source
pub trait AppHandleExt {
    // Required methods
    fn save_window_state(&self, flags: StateFlags) -> Result<()>;
    fn filename(&self) -> String;
}

Required Methods§

Source

fn save_window_state(&self, flags: StateFlags) -> Result<()>

Saves all open windows state to disk

Source

fn filename(&self) -> String

Get the name of the file used to store window state.

Implementations on Foreign Types§

Source§

impl<R: Runtime> AppHandleExt for AppHandle<R>

Implementors§