Skip to main content

bound_path

Function bound_path 

Source
pub fn bound_path(root: &str, segments: &[&str]) -> Vec<GeneratedToken>
Expand description

The path root::a::b::c, rooted at a crate the caller named.

The root is written as a plain word, so a caller that renamed its dependency is named the way it named itself.