Trait rustc::middle::trans::datum::KindOps[src]
pub trait KindOps {
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;
}
Required Methods
fn post_store<'a>(&self, bcx: &'a Block<'a>, val: ValueRef, ty: t) -> &'a Block<'a>
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