Module 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 ๐Ÿ”’