[][src]Struct adapton::reflect::DCG

pub struct DCG {
    pub table: HashMap<Loc, Node>,
    pub stack: Vec<Frame>,
    pub path: Vec<Name>,
}

Reflected version of engine::DCG.

Fields

table: HashMap<Loc, Node>

The current memo table, mapping Locs to Nodes.

stack: Vec<Frame>

A stack of Frames, which store the currently-executing nodes, and their outgoing edges thus far.

path: Vec<Name>

A list of Names, which is extended for nested regions of code by the ns (namespace) combinator. This path variable determines the path for each allocated Loc.

Trait Implementations

impl Clone for DCG[src]

impl Debug for DCG[src]

impl Reflect<DCG> for DCG[src]

Auto Trait Implementations

impl !RefUnwindSafe for DCG

impl !Send for DCG

impl !Sync for DCG

impl Unpin for DCG

impl !UnwindSafe for DCG

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.