pub struct ModuleNode {
pub id: ModuleId,
pub program: Program,
pub path: PathBuf,
pub qualified_path: Vec<String>,
}Expand description
A single node in the module dependency graph.
Stores the parsed AST, file path, and fully qualified module path for a single source file.
Fields§
§id: ModuleIdThe unique identifier for this module.
program: ProgramThe parsed AST of this module.
path: PathBufThe absolute path to the source file.
qualified_path: Vec<String>The fully qualified module path segments (e.g., ["math", "ops"]).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleNode
impl RefUnwindSafe for ModuleNode
impl Send for ModuleNode
impl Sync for ModuleNode
impl Unpin for ModuleNode
impl UnsafeUnpin for ModuleNode
impl UnwindSafe for ModuleNode
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