Enum rustc_trans::trans::datum::ExprExperimental [-]  [+] [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<'blk, 'tcx>(&self, bcx: Block<'blk, 'tcx>, val: ValueRef, ty: Ty<'tcx>) -> Block<'blk, 'tcx>

fn is_by_ref(&self) -> bool

fn to_expr_kind(self) -> Expr

Derived Implementations

impl Show for Expr

fn fmt(&self, __arg_0: &mut Formatter) -> Result