[][src]Function sdl2::filesystem::pref_path

pub fn pref_path(
    org_name: &str,
    app_name: &str
) -> Result<String, PrefPathError>

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