Struct melon::Program
[−]
[src]
pub struct Program { pub core_version: String, pub system_id: String, pub instructions: Vec<Instruction>, pub num_pages: Option<Address>, }
The container for a program
Fields
core_version: String
The version of the VM API
system_id: String
The ID of the System the program is compiled against
instructions: Vec<Instruction>
The instuctions of the program
num_pages: Option<Address>
(Optional) The number of allocated memory pages (1 page = 1024 Byte)
Trait Implementations
impl Clone for Program
[src]
fn clone(&self) -> Program
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more