pub struct IRModule {
pub program: IRProgram,
pub functions: HashMap<String, IRFunction>,
pub entry_point: Option<String>,
}Expand description
A complete IR module representing a Glyph program
Fields§
§program: IRProgramProgram metadata
functions: HashMap<String, IRFunction>Global functions
entry_point: Option<String>Entry point (main function name)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IRModule
impl RefUnwindSafe for IRModule
impl Send for IRModule
impl Sync for IRModule
impl Unpin for IRModule
impl UnwindSafe for IRModule
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