pub struct Program<'sym> {
pub version: String,
pub code: Vec<Instr<'sym>>,
}Expand description
Executable program is still a sequence of Instr<'sym> referencing symbols
inside a provided SymTable.
Fields§
§version: String§code: Vec<Instr<'sym>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'sym> Freeze for Program<'sym>
impl<'sym> RefUnwindSafe for Program<'sym>
impl<'sym> Send for Program<'sym>
impl<'sym> Sync for Program<'sym>
impl<'sym> Unpin for Program<'sym>
impl<'sym> UnwindSafe for Program<'sym>
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