pub struct NameTable { /* private fields */ }Expand description
A simple string-interning table backed by a Vec.
Useful for giving cheap usize IDs to string names during elaboration.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NameTable
impl RefUnwindSafe for NameTable
impl Send for NameTable
impl Sync for NameTable
impl Unpin for NameTable
impl UnsafeUnpin for NameTable
impl UnwindSafe for NameTable
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