Struct aterm::_ATerm [] [src]

pub struct _ATerm<Rec, B> {
    pub term: Term<Rec, B>,
    pub annotations: Rec,
}

The annotated term. This only combines the term with the annotations, nothing special.

Fields

The actual term.

The annotations on the term. The spec says this is an ATerm list of pairs of ATerms. We extend this to a general list of aterms so we can support more systems (e.g. Stratego/XT).

Methods

impl<Rec, B> _ATerm<Rec, B> where Rec: Default
[src]

Trait Implementations

impl<Rec: Debug, B: Debug> Debug for _ATerm<Rec, B>
[src]

Formats the value using the given formatter.

impl<Rec: PartialEq, B: PartialEq> PartialEq for _ATerm<Rec, B>
[src]

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

This method tests for !=.

impl<Rec: Eq, B: Eq> Eq for _ATerm<Rec, B>
[src]

impl<Rec: Clone, B: Clone> Clone for _ATerm<Rec, B>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Rec: Hash, B: Hash> Hash for _ATerm<Rec, B>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<Rec, B> Display for _ATerm<Rec, B> where Rec: Rec + ATermWrite,
        B: ATermWrite
[src]

Formats the value using the given formatter. Read more

impl<Rec, B> ATermWrite for _ATerm<Rec, B> where Rec: Rec + ATermWrite,
        B: ATermWrite
[src]