Struct gluon_base::ast::ValueBinding [] [src]

pub struct ValueBinding<Id> {
    pub comment: Option<String>,
    pub name: SpannedPattern<Id>,
    pub typ: ArcType<Id>,
    pub args: Vec<TypedIdent<Id>>,
    pub expr: SpannedExpr<Id>,
}

Fields

Trait Implementations

impl<Id: Clone> Clone for ValueBinding<Id>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Id: PartialEq> PartialEq for ValueBinding<Id>
[src]

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

This method tests for !=.

impl<Id: Debug> Debug for ValueBinding<Id>
[src]

Formats the value using the given formatter.