nu_path::form

Trait PathSet

Source
pub trait PathSet: PathForm { }
Expand description

A marker trait for PathForms that support setting the file name or extension.

This includes the Any, Relative, and Absolute path forms. Canonical paths do not support this, since appending file names and extensions that contain path separators can cause the path to no longer be canonical.

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§