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

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.