Struct portus::lang::Scope[][src]

pub struct Scope {
    pub program_uid: u32,
    // some fields omitted
}

A mapping from variable names defined in the datapath program to their datapath register representations.

Fields

Methods

impl Scope
[src]

Define variables always accessible in the datapath, in the context of the most recent packet. All datapaths shall recognize these Names.

Trait Implementations

impl Clone for Scope
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Scope
[src]

Formats the value using the given formatter. Read more

impl Default for Scope
[src]

Returns the "default value" for a type. Read more

impl IntoIterator for Scope
[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 Scope

impl Sync for Scope