Function rustc_trans::trans::datum::appropriate_rvalue_modeExperimental
[-]
[+]
[src]
pub fn appropriate_rvalue_mode<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, ty: Ty<'tcx>) -> RvalueMode
Indicates the "appropriate" mode for this value, which is either by ref or by value, depending on whether type is immediate or not.