Trait rustc::ty::item_path::ItemPathBuffer
[−]
[src]
pub trait ItemPathBuffer { fn root_mode(&self) -> &RootMode; fn push(&mut self, text: &str); }
Unstable (
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
Unstable (
rustc_private
)fn push(&mut self, text: &str)
Unstable (
rustc_private
)