XdgPath

Trait XdgPath 

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§

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", so this trait is not object safe.

Implementors§