nu_path::form

Trait PathPush

source
pub trait PathPush: PathSet { }
Expand description

A marker trait for PathForms that support pushing paths.

This includes only Any and Absolute path forms. Pushing onto a Relative path could cause it to become Absolute, which is why they do not support pushing. In the future, a push_rel and/or a try_push method could be added as an alternative. Similarly, Canonical paths may become uncanonical if a path is pushed onto it.

Object Safety§

This trait is not object safe.

Implementors§