Enum rustc::ty::item_path::RootMode
[−]
[src]
pub enum RootMode { Local, Absolute, }
🔬 This is a nightly-only experimental API. (
rustc_private
)Variants
Local
🔬 This is a nightly-only experimental API. (
rustc_private
)Try to make a path relative to the local crate. In
particular, local paths have no prefix, and if the path comes
from an extern crate, start with the path to the extern crate
declaration.
Absolute
🔬 This is a nightly-only experimental API. (
rustc_private
)Always prepend the crate name to the path, forming an absolute path from within a given set of crates.