Struct aterm::ATermInner [] [src]

pub struct ATermInner<ATerm, B, S> {
    pub term: Term<ATerm, B, S>,
    pub annotations: Box<[ATerm]>,
}

The annotated term. This only combines the term with the annotations.

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<ATerm, B, S> ATermInner<ATerm, B, S>
[src]

Trait Implementations

impl<ATerm: Debug, B: Debug, S: Debug> Debug for ATermInner<ATerm, B, S>
[src]

Formats the value using the given formatter.

impl<ATerm: PartialEq, B: PartialEq, S: PartialEq> PartialEq for ATermInner<ATerm, B, S>
[src]

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

This method tests for !=.

impl<ATerm: Eq, B: Eq, S: Eq> Eq for ATermInner<ATerm, B, S>
[src]

impl<ATerm: Clone, B: Clone, S: Clone> Clone for ATermInner<ATerm, B, S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<ATerm: Hash, B: Hash, S: Hash> Hash for ATermInner<ATerm, B, S>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<Rec, B, S> ATerm for ATermInner<Rec, B, S> where
    Rec: Borrow<ATermInner<Rec, B, S>>,
    S: Cons
[src]

Basically the current type, but you may want to add something extra, so this is more flexible. Read more

The extension point to add more variants to terms.

The type of the constructor to use

impl<ATerm, B, S> Display for ATermInner<ATerm, B, S> where
    ATerm: ATermWrite,
    B: ATermWrite,
    S: Display
[src]

Formats the value using the given formatter. Read more

impl<Rec, B, S> ATermWrite for ATermInner<Rec, B, S> where
    Rec: ATermWrite,
    B: ATermWrite,
    S: Display
[src]