Enum rustc::ty::item_path::RootMode [] [src]

pub enum RootMode {
    Local,
    Absolute,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 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.

🔬 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.

Trait Implementations

impl Debug for RootMode
[src]

Formats the value using the given formatter.