Struct falcon::il::Program[][src]

pub struct Program { /* fields omitted */ }

A representation of a program by il::Function

Methods

impl Program
[src]

Creates a new, empty Program.

Search for a Function by its optional address, assuming one was assigned. Returns the Function if found, or None if not found.

Get all Function for this Program.

Get the underlying BTreeMap holding all Function for this Program.

Get a Function by its index.

A Function index is assigned by Program and is not the address where the Function was discovered.

Add a Function to the Program.

This will also assign an index to the Function.

Get a Function by its name.

Trait Implementations

impl Clone for Program
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Program
[src]

Formats the value using the given formatter. Read more

impl Display for Program
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Program

impl !Sync for Program