pub struct Image {
pub instrs: Vec<Instruction>,
pub data: Vec<Option<Value>>,
}
Expand description
Representation of a compiled program.
Fields§
§instrs: Vec<Instruction>
Collection of instructions in the program.
The indices of this vector correspond to the program counter.
data: Vec<Option<Value>>
Collection of data values in the program.
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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