pub struct Module {
pub symbols: HashMap<String, Symbol>,
pub data: HashMap<String, GlobalData>,
}Expand description
A module wrapper for initializing Vermilion IR.
Fields§
§symbols: HashMap<String, Symbol>A list of symbols declared in the module.
data: HashMap<String, GlobalData>A list of Module data.
Implementations§
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnsafeUnpin for Module
impl UnwindSafe 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