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

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

Fields

pattern: SpannedPattern<'ast, Id>expr: SpannedExpr<'ast, Id>

Trait Implementations

impl<'ast, Id> AstAlloc<'ast, Id> for Alternative<'ast, Id>[src]

impl<'ast, Id> AstClone<'ast, Id> for Alternative<'ast, Id> where
    Id: AstClone<'ast, Id>,
    Id: Clone
[src]

impl<'ast, Id: Debug> Debug for Alternative<'ast, Id>[src]

impl<'ast, Id: Eq> Eq for Alternative<'ast, Id>[src]

impl<'ast, Id: PartialEq> PartialEq<Alternative<'ast, Id>> for Alternative<'ast, Id>[src]

impl<'ast, Id> StructuralEq for Alternative<'ast, Id>[src]

impl<'ast, Id> StructuralPartialEq for Alternative<'ast, Id>[src]

Auto Trait Implementations

impl<'ast, Id> RefUnwindSafe for Alternative<'ast, Id> where
    Id: RefUnwindSafe

impl<'ast, Id> Send for Alternative<'ast, Id> where
    Id: Send + Sync

impl<'ast, Id> Sync for Alternative<'ast, Id> where
    Id: Send + Sync

impl<'ast, Id> Unpin for Alternative<'ast, Id> where
    Id: Unpin

impl<'ast, Id> !UnwindSafe for Alternative<'ast, Id>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Id> AsId<Id> for Id where
    Id: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.