Trait rustc_trans::trans::datum::KindOpsExperimental [-]  [+] [src]

pub trait KindOps {
    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;
}

Required Methods

fn post_store<'blk, 'tcx>(&self, bcx: Block<'blk, 'tcx>, val: ValueRef, ty: Ty<'tcx>) -> Block<'blk, 'tcx>

Take appropriate action after the value in datum has been stored to a new location.

fn is_by_ref(&self) -> bool

True if this mode is a reference mode, meaning that the datum's val field is a pointer to the actual value

fn to_expr_kind(self) -> Expr

Converts to an Expr kind

Implementors