July 2018
Intermediate to advanced
552 pages
13h 50m
English

This appendix contains a glossary of Rust’s syntax, including operators and other symbols that appear by themselves or in the context of paths, generics, trait bounds, macros, attributes, comments, tuples, and brackets.
Table B-1 contains the operators in Rust, an example of how the operator would appear in context, a short explanation, and whether that operator is overloadable. If an operator is overloadable, the relevant trait to use to overload that operator is listed.
Table B-1: Operators
Operator |
Example |
Explanation |
Overloadable? |
! |
ident!(...), ident!{...}, ident![...] |
Macro expansion |
|
! |
!expr |