Struct rustc_hir::diagnostic_items::DiagnosticItems
source · pub struct DiagnosticItems {
pub id_to_name: FxHashMap<DefId, Symbol>,
pub name_to_id: FxHashMap<Symbol, DefId>,
}
Fields§
§id_to_name: FxHashMap<DefId, Symbol>
§name_to_id: FxHashMap<Symbol, DefId>
Trait Implementations§
source§impl Debug for DiagnosticItems
impl Debug for DiagnosticItems
source§impl Default for DiagnosticItems
impl Default for DiagnosticItems
source§fn default() -> DiagnosticItems
fn default() -> DiagnosticItems
Returns the “default value” for a type. Read more
source§impl<CTX: HashStableContext> HashStable<CTX> for DiagnosticItems
impl<CTX: HashStableContext> HashStable<CTX> for DiagnosticItems
fn hash_stable(&self, ctx: &mut CTX, hasher: &mut StableHasher)
Auto Trait Implementations§
impl RefUnwindSafe for DiagnosticItems
impl Send for DiagnosticItems
impl Sync for DiagnosticItems
impl Unpin for DiagnosticItems
impl UnwindSafe for DiagnosticItems
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes