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
sourceimpl Debug for DiagnosticItems
impl Debug for DiagnosticItems
sourceimpl Default for DiagnosticItems
impl Default for DiagnosticItems
sourcefn default() -> DiagnosticItems
fn default() -> DiagnosticItems
Returns the “default value” for a type. Read more
sourceimpl<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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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