Module rustc_hir_typeck::op
source ยท 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 Returnstrue
if this is a built-in arithmetic operation (e.g., u32 - lang_
item_ ๐for_ op