pub fn create_storage(_app_name: &str) -> Option<Box<dyn epi::Storage>> {
    #[cfg(feature = "persistence")]
    if let Some(storage) = super::file_storage::FileStorage::from_app_name(_app_name) {
        return Some(Box::new(storage));
    }
    None
}
/// For loading/saving app state and/or egui memory to disk.
For loading/saving app state and/or egui memory to disk.
For loading / saving app state and / or egui memory to disk .
pub fn create_storage(_app_name: &str) -> Option<Box<dyn epi::Storage>> {
    #[cfg(feature = "persistence")]
    if let Some(storage) = super::file_storage::FileStorage::from_app_name(_app_name) {
        return Some(Box::new(storage));
    }
    None
}
pub fn create_storage ( _app_name : & str ) -> Option < Box < dyn epi :: Storage > > { # [ cfg ( feature " " ) ] if let Some ( storage ) = super :: file_storage :: FileStorage :: from_app_name ( _app_name ) { return Some ( Box :: new ( storage ) ) ; } None }
For loading/saving app state and/or egui memory to disk.
For loading / saving app state and / or egui memory to disk .
_app_name
&str
_app_name
&str