(
self,
lhs: impl Into<Operand<'heap>>,
op: BinOp,
rhs: impl Into<Operand<'heap>>,
)
| 49 | /// [`op!`]: crate::op |
| 50 | #[must_use] |
| 51 | pub fn binary( |
| 52 | self, |
| 53 | lhs: impl Into<Operand<'heap>>, |
| 54 | op: BinOp, |
| 55 | rhs: impl Into<Operand<'heap>>, |
| 56 | ) -> RValue<'heap> { |
| 57 | RValue::Binary(Binary { |
| 58 | left: lhs.into(), |
| 59 | op, |
| 60 | right: rhs.into(), |
| 61 | }) |
| 62 | } |
| 63 | |
| 64 | /// Creates a unary operation r-value. |
| 65 | /// |