Struct erg_compiler::module::cache::ModuleEntry
source · pub struct ModuleEntry {
pub id: ModId,
pub hir: Option<HIR>,
pub module: Rc<ModuleContext>,
}
Fields§
§id: ModId
§hir: Option<HIR>
§module: Rc<ModuleContext>
Implementations§
source§impl ModuleEntry
impl ModuleEntry
Trait Implementations§
source§impl Clone for ModuleEntry
impl Clone for ModuleEntry
source§fn clone(&self) -> ModuleEntry
fn clone(&self) -> ModuleEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModuleEntry
impl Debug for ModuleEntry
Auto Trait Implementations§
impl !RefUnwindSafe for ModuleEntry
impl !Send for ModuleEntry
impl !Sync for ModuleEntry
impl Unpin for ModuleEntry
impl !UnwindSafe for ModuleEntry
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