Function sdl2::filesystem::pref_path

source ยท
pub fn pref_path(
    org_name: &str,
    app_name: &str,
) -> Result<String, PrefPathError>
Expand description

Return the preferred directory for the application to write files on this system, based on the given organization and application name.