pub struct WordInterner { /* private fields */ }Expand description
Hands out one Word per distinct value, so repeated stack words are stored once.
One interner covers one trace being built or parsed; it is dropped with the loop that filled it, and the words it handed out live as long as the steps holding them.
Implementations§
Trait Implementations§
Source§impl Debug for WordInterner
impl Debug for WordInterner
Auto Trait Implementations§
impl Freeze for WordInterner
impl RefUnwindSafe for WordInterner
impl Send for WordInterner
impl Sync for WordInterner
impl Unpin for WordInterner
impl UnsafeUnpin for WordInterner
impl UnwindSafe for WordInterner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more