pub struct LoadedProgram {
pub files: Vec<LoadedFile>,
}Expand description
A fully loaded, dependency-resolved program.
Fields§
§files: Vec<LoadedFile>Dependency-first order: every file appears after all the files it
depends on. Under Legacy mode that is the @require:/@import:
order; under Envelopes mode the ordering contract is: all deps-config
envelope sources first (dependency-first among themselves, each
envelope’s modules closed-sorted), then the local use … of files
(dependency-first), then the entry document last.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadedProgram
impl RefUnwindSafe for LoadedProgram
impl Send for LoadedProgram
impl Sync for LoadedProgram
impl Unpin for LoadedProgram
impl UnsafeUnpin for LoadedProgram
impl UnwindSafe for LoadedProgram
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