Struct syntax::util::interner::StrInterner
[−]
[src]
pub struct StrInterner { // some fields omitted }
Unstable (
rustc_private
)A StrInterner differs from Interner
Methods
impl StrInterner
[src]
When traits can extend traits, we should extend index
fn new() -> StrInterner
fn prefill(init: &[&str]) -> StrInterner
fn intern(&self, val: &str) -> Name
fn gensym(&self, val: &str) -> Name
fn gensym_copy(&self, idx: Name) -> Name
Unstable (
rustc_private
)Create a gensym with the same name as an existing entry.