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