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

pub struct Program { /* fields omitted */ }

A representation of a program by il::Function

Methods

impl Program
[src]

[src]

Creates a new, empty Program.

[src]

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

[src]

Get all Function for this Program.

[src]

Get the underlying BTreeMap holding all Function for this Program.

[src]

Get a Function by its index.

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

[src]

Returns a Rc<Function> by it's index.

[src]

Add a Function to the Program.

This will also assign an index to the Function.

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

impl Hash for Program
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Program
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Program

impl Sync for Program