[][src]Enum fr::compile::Eval

pub enum Eval {
    Load(Load),
    Literal(Literal),
    Call(Call),
    Deref(Deref),
    Refer(Refer),
    Value(Value),
}

This represents a value that can be evaluated. Variables, literals, function calls, value dereferences, variable references, and values (this is a cheat for letting the compiler easily use values in place of long Evals) can all be evaluated into a Value

Variants

Load(Load)
Literal(Literal)
Call(Call)
Deref(Deref)
Refer(Refer)
Value(Value)

Trait Implementations

impl Clone for Eval[src]

impl Debug for Eval[src]

impl Lower for Eval[src]

An Eval expression is evaluated by the expression it contains

impl PartialEq<Eval> for Eval[src]

impl PartialOrd<Eval> for Eval[src]

impl StructuralPartialEq for Eval[src]

Auto Trait Implementations

impl RefUnwindSafe for Eval

impl Send for Eval

impl Sync for Eval

impl Unpin for Eval

impl UnwindSafe for Eval

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,