Enum rustc::mir::repr::Operand
[−]
[src]
pub enum Operand<'tcx> {
Consume(Lvalue<'tcx>),
Constant(Constant<'tcx>),
}Unstable (
rustc_private)These are values that can appear inside an rvalue (or an index lvalue). They are intentionally limited to prevent rvalues from being nested in one another.
Variants
Consume(Lvalue<'tcx>)Unstable (
rustc_private)Constant(Constant<'tcx>)Unstable (
rustc_private)Trait Implementations
impl<'tcx> Debug for Operand<'tcx>[src]
Derived Implementations
impl<'tcx> Decodable for Operand<'tcx>[src]
impl<'tcx> Encodable for Operand<'tcx>[src]
impl<'tcx> PartialEq for Operand<'tcx>[src]
fn eq(&self, __arg_0: &Operand<'tcx>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Operand<'tcx>) -> bool
This method tests for !=.
impl<'tcx> Clone for Operand<'tcx>[src]
fn clone(&self) -> Operand<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more