Module rustc_hir_typeck::op
source ยท Expand description
Code related to processing overloaded binary and unary operators.
Enumsยง
- BinOpCategory ๐
- 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 ๐