Function pref_path

pub fn pref_path(
    org_name: &str,
    app_name: &str,
) -> Result<String, PrefPathError> 
Available on crate feature dep_sdl2 only.
Expand description

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