Trait rustc::ty::item_path::ItemPathBuffer
[−]
[src]
pub trait ItemPathBuffer { fn root_mode(&self) -> &RootMode; fn push(&mut self, text: &str); }
🔬 This is a nightly-only experimental API. (
rustc_private
)Unifying Trait for different kinds of item paths we might construct. The basic interface is that components get pushed: the instance can also customize how we handle the root of a crate.
Required Methods
fn root_mode(&self) -> &RootMode
🔬 This is a nightly-only experimental API. (
rustc_private
)fn push(&mut self, text: &str)
🔬 This is a nightly-only experimental API. (
rustc_private
)