Operators and Symbols Flashcards

1
Q

!

ident!(…), ident!{…}, ident![…]

A

Macro expansion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

!

!expr

A

Bitwise or logical complement

Not overloadable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

!=

Example:

var != expr

A

Nonequality comparison

Overloadable: PartialEq

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

%

Example:

expr % expr

A

Arithmetic remainder

Overloadable: Rem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly