Enum rustc::ty::item_path::RootMode
[−]
[src]
pub enum RootMode {
Local,
Absolute,
}Unstable (
rustc_private)Variants
LocalUnstable (
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.
AbsoluteUnstable (
rustc_private)Always prepend the crate name to the path, forming an absolute path from within a given set of crates.