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

pub struct Interner<T> {
    // some fields omitted
}

Methods

impl<T: Eq + Hash + Clone + 'static> Interner<T>

fn new() -> Interner<T>

fn prefill(init: &[T]) -> Interner<T>

fn intern(&self, val: T) -> Name

fn gensym(&self, val: T) -> Name

fn get(&self, idx: Name) -> T

fn len(&self) -> usize

fn find<Q: ?Sized>(&self, val: &Q) -> Option<Name> where T: Borrow<Q>, Q: Eq + Hash

fn clear(&self)