pub struct Program {
pub author: String,
pub name: String,
pub code: Vec<Instruction>,
pub offset: usize,
pub pc: usize,
pub flag: bool,
}
Expand description
A series of instructions written by an author with a program name
Fields§
§name: String
§code: Vec<Instruction>
§offset: usize
§pc: usize
§flag: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
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