pub struct LoadedModule {
pub path: Vec<String>,
pub source_file: PathBuf,
pub exports: HashSet<String>,
pub function_exports: HashSet<String>,
pub program: Program,
}Expand description
A loaded module with metadata
Fields§
§path: Vec<String>Module path
source_file: PathBufSource file location
exports: HashSet<String>Public predicate names
function_exports: HashSet<String>Public function names
program: ProgramThe parsed program content
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadedModule
impl RefUnwindSafe for LoadedModule
impl Send for LoadedModule
impl Sync for LoadedModule
impl Unpin for LoadedModule
impl UnsafeUnpin for LoadedModule
impl UnwindSafe for LoadedModule
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