Negation operators
The following table summarizes the behavior of negation operators and which traits are used to overload them for other types:
Symbol | Operation | Accepted types | Overloading trait |
---|---|---|---|
|
Negation |
|
|
|
Logical NOT |
|
|
The following table summarizes the behavior of negation operators and which traits are used to overload them for other types:
Symbol | Operation | Accepted types | Overloading trait |
---|---|---|---|
|
Negation |
|
|
|
Logical NOT |
|
|