Struct debris_hir::hir_impl::HirFile
source · pub struct HirFile {
pub main_function: HirBlock,
pub code_id: CodeId,
}
Expand description
This struct stores the high-level intermediate representation of a single file.
A HirFile
is very similar to a super::hir_nodes::HirModule
, but it can store a
list of imports
Fields§
§main_function: HirBlock
§code_id: CodeId
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HirFile
impl !Send for HirFile
impl !Sync for HirFile
impl Unpin for HirFile
impl UnwindSafe for HirFile
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