Struct gluon_base::ast::Alternative[][src]

pub struct Alternative<Id> {
    pub pattern: SpannedPattern<Id>,
    pub expr: SpannedExpr<Id>,
}

Fields

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Id: PartialEq> PartialEq for Alternative<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 Alternative<Id>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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