Struct syntex_syntax::util::interner::Interner [] [src]

pub struct Interner {
    // some fields omitted
}

Methods

impl Interner
[src]

When traits can extend traits, we should extend index to get []

fn new() -> Self

fn prefill(init: &[&str]) -> Self

fn intern<T: Borrow<str> + Into<String>>(&mut self, string: T) -> Name

fn gensym(&mut self, string: &str) -> Name

fn gensym_copy(&mut self, name: Name) -> Name

Create a gensym with the same name as an existing entry.

fn get(&self, name: Name) -> Rc<String>

fn find(&self, string: &str) -> Option<Name>

Trait Implementations

impl Default for Interner
[src]

fn default() -> Interner

Returns the "default value" for a type. Read more