Crate standard_paths [−] [src]
Standard Paths
A Rust library providing methods for accessing standard paths on the local filesystem (config, cache, user directories and etc.).
It's a port of QStandardPaths class of the Qt framework.
Usage
extern crate standard_paths; use standard_paths::*; use standard_paths::LocationType::*; fn main() { let sp = StandardPaths::new_with_names("app", "org"); println!("{:?}", sp.writable_location(AppLocalDataLocation)); }
Structs
StandardPaths |
Stores application and organization names and provides all the crate methods. |
Enums
LocateOption |
Enumerates the locate option type. |
LocationType |
Enumerates the standard location type. |