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

The version of the VM API

The ID of the System the program is compiled against

The instuctions of the program

(Optional) The number of allocated memory pages (1 page = 1024 Byte)

Trait Implementations

impl Clone for Program
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Program
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Program

impl Sync for Program