Function xdirs::application_shared_dir[][src]

pub fn application_shared_dir() -> Option<PathBuf>

Returns the path to the system’s application shared components directory.

The returned value depends on the operating system and is either a Some, containing a value from the following table, or a None.

PlatformValueExample
Linux--
macOS/Library/Frameworks/Library/Frameworks
Windows{FOLDERID_ProgramFilesCommon}C:\Program Files\Common Files

See also application_dir and user_application_dir.