[][src]Function dirs::video_dir

pub fn video_dir() -> Option<PathBuf>

Returns the path to the user's video 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_VIDEOS_DIR/home/alice/Videos
macOS$HOME/Movies/Users/Alice/Movies
Windows{FOLDERID_Videos}C:\Users\Alice\Videos