[][src]Struct gluon_vm::core::Alternative

pub struct Alternative<'a> {
    pub pattern: Pattern,
    pub expr: &'a Expr<'a>,
}

Fields

pattern: Patternexpr: &'a Expr<'a>

Trait Implementations

impl<'a> ArenaAllocatable<'a> for Alternative<'a>[src]

impl<'a> Clone for Alternative<'a>[src]

impl<'a> Debug for Alternative<'a>[src]

impl<'a> Default for Alternative<'a>[src]

impl<'a> PartialEq<Alternative<'a>> for Alternative<'a>[src]

impl<'a, 'b, P> Produce<'a, 'b, P, Alternative<'b>> for Alternative<'a> where
    P: ExprProducer<'a, 'b>, 
[src]

impl<'a> StructuralPartialEq for Alternative<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Alternative<'a>

impl<'a> Send for Alternative<'a>

impl<'a> Sync for Alternative<'a>

impl<'a> Unpin for Alternative<'a>

impl<'a> UnwindSafe for Alternative<'a>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<'_, T> Captures<'_> for T[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

impl<D, T> FromPtr<D> for T[src]

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

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.