pub struct Hir {
pub items: Vec<Item>,
pub type_map: HashMap<HirId, Ty>,
pub type_aliases: HashMap<Symbol, Ty>,
}Expand description
A complete HIR module (file)
Fields§
§items: Vec<Item>§type_map: HashMap<HirId, Ty>§type_aliases: HashMap<Symbol, Ty>Type aliases (name → resolved type)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hir
impl RefUnwindSafe for Hir
impl Send for Hir
impl Sync for Hir
impl Unpin for Hir
impl UnwindSafe for Hir
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