pub fn as_operand<M>(&mut self, block: BasicBlock, expr: M) -> BlockAnd<Operand<'tcx>>
        where M: Mirror<'tcx, Output = Expr<'tcx>>
    {
        let expr = self.hir.mirror(expr);
        self.expr_as_operand(block, expr)
    }
/// Compile `expr` into a value that can be used as an operand.
/// If `expr` is an lvalue like `x`, this will introduce a
/// temporary `tmp = x`, so that we capture the value of `x` at
/// this time.
Compile `expr` into a value that can be used as an operand.
Compile ` expr ` into a value that can be used as an operand .
pub fn as_operand<M>(&mut self, block: BasicBlock, expr: M) -> BlockAnd<Operand<'tcx>>
        where M: Mirror<'tcx, Output = Expr<'tcx>>
    {
        let expr = self.hir.mirror(expr);
        self.expr_as_operand(block, expr)
    }
pub fn as_operand < M > ( & mut self , block : BasicBlock , expr : M ) -> BlockAnd < Operand < ' tcx > > where M : Mirror < ' tcx , Output = Expr < ' tcx > > { let expr = self . hir . mirror ( expr ) ; self . expr_as_operand ( block , expr ) }
Compile `expr` into a value that can be used as an operand.
Compile ` expr ` into a value that can be used as an operand .
&mut self
block
BasicBlock
expr
M
&mut self
block
BasicBlock
expr
M