pub struct IrModule {
pub globals: Vec<IrGlobal>,
pub functions: Vec<IrFunction>,
}Expand description
One lowered IR module ready for code generation.
Fields§
§globals: Vec<IrGlobal>Globals lowered into the IR world.
functions: Vec<IrFunction>Functions lowered into stack-machine IR.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IrModule
impl<'de> Deserialize<'de> for IrModule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for IrModule
Auto Trait Implementations§
impl Freeze for IrModule
impl RefUnwindSafe for IrModule
impl Send for IrModule
impl Sync for IrModule
impl Unpin for IrModule
impl UnsafeUnpin 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