pub struct ClassDefinitionTable { /* private fields */ }Expand description
Interns a class/generic-class DEFINITION symbol to a stable dense id,
keyed by crate::symid::SymbolUid::uid — the same stable-key discipline
[super::dedup::DefinitionTable] uses for module Definitions, kept as
its own small table rather than shared with that one because the two
intern different symbol kinds (Definition there, ClassType/
GenericClassDef here) and nothing requires their dense ids to share one
namespace.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClassDefinitionTable
impl RefUnwindSafe for ClassDefinitionTable
impl Send for ClassDefinitionTable
impl Sync for ClassDefinitionTable
impl Unpin for ClassDefinitionTable
impl UnsafeUnpin for ClassDefinitionTable
impl UnwindSafe for ClassDefinitionTable
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