Skip to main content

XdgPath

Trait XdgPath 

Source
pub trait XdgPath {
    // Required method
    fn resolve() -> Option<PathBuf>;
}
Available on crate feature node-api only.
Expand description

A small helper trait for unit structs that represent a standard path following the XDG path specification.

Required Methods§

Source

fn resolve() -> Option<PathBuf>

Resolve the standard path.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§