Function data_dirs

pub fn data_dirs() -> XdgDirsIter

A set of preference ordered directories relative to which data files should be searched.

If an application defines a data file to be at $XDG_DATA_DIRS/appid/file.name, this means that:

An application may choose to handle a file being located under multiple base directories however it sees fit, so long as it respects the search order. For example, it could say that only the first file found is used, or that data within the files is merged in some way.