Function preferences::prefs_base_dir [] [src]

pub fn prefs_base_dir() -> Option<PathBuf>

Get full path to the base directory for preferences.

This makes no guarantees that the specified directory path actually exists (though you can easily use std::fs::create_dir_all(..)). Returns None if the directory cannot be determined or is not available on the current platform.