pub struct Module {
pub path: Arc<str>,
pub exports: HashSet<Arc<str>>,
pub bindings: HashMap<Arc<str>, Value>,
}Expand description
One module’s contribution to the global symbol table:
every binding it defines, plus the subset that’s been
(provide)-d as exported.
Fields§
§path: Arc<str>§exports: HashSet<Arc<str>>§bindings: HashMap<Arc<str>, Value>Implementations§
Source§impl Module
impl Module
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Module
impl !UnwindSafe for Module
impl Freeze for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnsafeUnpin for Module
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