[][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.


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.