pub fn data_home_dir() -> PathBuf🔬This is a nightly-only experimental API. (
xdg_basedir #157515)Available on Unix only.
Expand description
A base directory relative to which user-specific data files should be written.
An application appid would typically be expected to write its data files
to {data_home_dir}/{appid}/**/*.