Enum rustc_trans::trans::datum::RvalueModeExperimental [-]  [+] [src]

pub enum RvalueMode {
    ByRef,
    ByValue,
}

Variants

ByRef

val is a pointer to the actual value (and thus has type *T)

ByValue

val is the actual value (only used for immediates like ints, ptrs)

Trait Implementations

Derived Implementations

impl Show for RvalueMode

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

impl<__S: Writer> Hash<__S> for RvalueMode

fn hash(&self, __arg_0: &mut __S)

impl Eq for RvalueMode

fn assert_receiver_is_total_eq(&self)

impl PartialEq for RvalueMode

fn eq(&self, __arg_0: &RvalueMode) -> bool

fn ne(&self, __arg_0: &RvalueMode) -> bool