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

pub struct ValueBinding<Id> {
    pub metadata: Metadata,
    pub name: SpannedPattern<Id>,
    pub typ: Option<AstType<Id>>,
    pub resolved_type: ArcType<Id>,
    pub args: Vec<Argument<SpannedIdent<Id>>>,
    pub expr: SpannedExpr<Id>,
}

Fields

Methods

impl<Id> ValueBinding<Id>
[src]

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. Read more

Auto Trait Implementations

impl<Id> Send for ValueBinding<Id> where
    Id: Send + Sync

impl<Id> Sync for ValueBinding<Id> where
    Id: Send + Sync