[][src]Function dirs::picture_dir

pub fn picture_dir() -> Option<PathBuf>

Returns the path to the user's picture 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
LinuxXDG_PICTURES_DIR/home/alice/Pictures
macOS$HOME/Pictures/Users/Alice/Pictures
Windows{FOLDERID_Pictures}C:\Users\Alice\Pictures