Enum rustc::middle::trans::datum::Expr[src]

pub enum Expr {
    RvalueExpr(Rvalue),
    LvalueExpr,
}

Variants

RvalueExpr

a fresh value that was produced and which has no cleanup yet because it has not yet "landed" into its permanent home

LvalueExpr

val is a pointer into memory for which a cleanup is scheduled (and thus has type *T). If you move out of an Lvalue, you must zero out the memory (FIXME #5016).

Trait Implementations

impl KindOps for Expr

fn post_store<'a>(&self, bcx: &'a Block<'a>, val: ValueRef, ty: t) -> &'a Block<'a>

fn is_by_ref(&self) -> bool

fn to_expr_kind(self) -> Expr