Expand description
Code related to processing overloaded binary and unary operators.
Enums§
- BinOp
Category 🔒 - IsAssign 🔒
- Whether the binary operation is an assignment (
a += b
), or not (a + b
) - Op 🔒
Functions§
- deref_
ty_ 🔒if_ possible - Dereferences a single level of immutable referencing.
- is_
builtin_ 🔒binop - Returns
true
if this is a built-in arithmetic operation (e.g., u32 - lang_
item_ 🔒for_ op