Struct syntax_pos::symbol::Interner [−][src]
pub struct Interner { /* fields omitted */ }Methods
impl Interner[src]
impl Internerpub fn new() -> Self[src]
pub fn new() -> Selfpub fn intern(&mut self, string: &str) -> Symbol[src]
pub fn intern(&mut self, string: &str) -> Symbolpub fn interned(&self, symbol: Symbol) -> Symbol[src]
pub fn interned(&self, symbol: Symbol) -> Symbolpub fn get(&self, symbol: Symbol) -> &str[src]
pub fn get(&self, symbol: Symbol) -> &strimpl Interner[src]
impl Interner