[][src]Enum gluon_parser::Variant

pub enum Variant<'ast, Id> {
    Gadt(Sp<Id>, AstType<'ast, Id>),
    Simple(Sp<Id>, Vec<AstType<'ast, Id>>),
}

Variants

Gadt(Sp<Id>, AstType<'ast, Id>)
Simple(Sp<Id>, Vec<AstType<'ast, Id>>)

Auto Trait Implementations

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

impl<'ast, Id> Send for Variant<'ast, Id> where
    Id: Send

impl<'ast, Id> Sync for Variant<'ast, Id> where
    Id: Sync

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

impl<'ast, Id> !UnwindSafe for Variant<'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.