Struct gluon_base::ast::PatternField[][src]

pub struct PatternField<Id, P> {
    pub name: Spanned<Id, BytePos>,
    pub value: Option<P>,
}

Fields

Trait Implementations

impl<Id: Clone, P: Clone> Clone for PatternField<Id, P>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Id: PartialEq, P: PartialEq> PartialEq for PatternField<Id, P>
[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, P: Debug> Debug for PatternField<Id, P>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<Id, P> Send for PatternField<Id, P> where
    Id: Send,
    P: Send

impl<Id, P> Sync for PatternField<Id, P> where
    Id: Sync,
    P: Sync