Trait is_tree::traits::has_path_segment::HasPath

source ·
pub trait HasPath {
    // Required method
    fn path(&self) -> Path;
}
Expand description

This trait should be implemented by types that have an absolute path.

Required Methods§

source

fn path(&self) -> Path

Gets the path of the type.

Implementations on Foreign Types§

source§

impl HasPath for ()

source§

fn path(&self) -> Path

Implementors§

source§

impl<Parent, Value> HasPath for Visitor<Parent, Value>
where Value: HasPathSegment, Parent: HasPath,