Enum glib::UserDirectory [−][src]
pub enum UserDirectory {
Desktop,
Documents,
Downloads,
Music,
Pictures,
PublicShare,
Templates,
Videos,
// some variants omitted
}Expand description
These are logical ids for special directories which are defined
depending on the platform used. You should use user_special_dir()
to retrieve the full path associated to the logical id.
The UserDirectory enumeration can be extended at later date. Not
every platform has a directory for every logical id in this
enumeration.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UserDirectoryimpl Send for UserDirectoryimpl Sync for UserDirectoryimpl Unpin for UserDirectoryimpl UnwindSafe for UserDirectoryBlanket Implementations
Mutably borrows from an owned value. Read more