Enum lovm2::prelude::HirElement[][src]

pub enum HirElement {
    Assign(Assign),
    Branch(Branch),
    Break(Break),
    Call(Call),
    Continue(Continue),
    Include(Include),
    Interrupt(Interrupt),
    Repeat(Repeat),
    Return(Return),
}

Sum type for every HIR element

Variants

Assign(Assign)
Branch(Branch)
Break(Break)
Call(Call)
Continue(Continue)
Include(Include)
Interrupt(Interrupt)
Repeat(Repeat)
Return(Return)

Trait Implementations

impl Clone for HirElement[src]

impl<'_> From<&'_ mut Repeat> for HirElement[src]

impl From<Assign> for HirElement[src]

impl From<Branch> for HirElement[src]

impl From<Break> for HirElement[src]

impl From<Call> for HirElement[src]

impl From<Continue> for HirElement[src]

impl From<Include> for HirElement[src]

impl From<Interrupt> for HirElement[src]

impl From<Repeat> for HirElement[src]

impl From<Return> for HirElement[src]

impl HirLowering for HirElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?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> 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.