Function xdg::get_data_dirs
[-] [+]
[src]
pub fn get_data_dirs() -> Vec<PathBuf>
Get the data directories.
If $XDG_DATA_DIRS
is not set, it returns [/usr/local/share, /usr/share]
.
pub fn get_data_dirs() -> Vec<PathBuf>
Get the data directories.
If $XDG_DATA_DIRS
is not set, it returns [/usr/local/share, /usr/share]
.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).