Struct portus::lang::Bin[][src]

pub struct Bin {
    pub events: Vec<Event>,
    pub instrs: Vec<Instr>,
}

Instruction-level representation of a datapath program.

Fields

Methods

impl Bin
[src]

Take a Prog, which is a Vec<portus::lang::prog::Event>, and turn it into a Bin, which is a Vec<portus::lang::datapath::Event> and a Vec<Instr>.

impl Bin
[src]

Serialize a Bin to bytes for transfer to the datapath

Trait Implementations

impl Clone for Bin
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Bin
[src]

Formats the value using the given formatter. Read more

impl Eq for Bin
[src]

impl PartialEq for Bin
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl IntoIterator for Bin
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

impl Send for Bin

impl Sync for Bin