Module op

Source
Expand description

Code related to processing overloaded binary and unary operators.

Enumsยง

BinOpCategory ๐Ÿ”’
Op ๐Ÿ”’
An assignment op (e.g. a += b), or a binary op (e.g. a + b).

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