Enum cpp_demangle::ast::SimpleOperatorName
source · pub enum SimpleOperatorName {
Show 48 variants
New,
NewArray,
Delete,
DeleteArray,
UnaryPlus,
Neg,
AddressOf,
Deref,
BitNot,
Add,
Sub,
Mul,
Div,
Rem,
BitAnd,
BitOr,
BitXor,
Assign,
AddAssign,
SubAssign,
MulAssign,
DivAssign,
RemAssign,
BitAndAssign,
BitOrAssign,
BitXorAssign,
Shl,
Shr,
ShlAssign,
ShrAssign,
Eq,
Ne,
Less,
Greater,
LessEq,
GreaterEq,
Not,
LogicalAnd,
LogicalOr,
PostInc,
PostDec,
Comma,
DerefMemberPtr,
DerefMember,
Call,
Index,
Question,
Spaceship,
}
Expand description
The <simple-operator-name>
production.
Variants§
New
new
NewArray
new[]
Delete
delete
DeleteArray
delete[]
UnaryPlus
Neg
AddressOf
&
Deref
BitNot
~
Add
Sub
Mul
Div
/
Rem
%
BitAnd
&
BitOr
|
BitXor
^
Assign
=
AddAssign
+=
SubAssign
-=
MulAssign
*=
DivAssign
/=
RemAssign
%=
BitAndAssign
&=
BitOrAssign
|=
BitXorAssign
^=
Shl
<<
Shr
ShlAssign
<<=
ShrAssign
=
Eq
==
Ne
!=
Less
<
Greater
LessEq
<=
GreaterEq
=
Not
!
LogicalAnd
&&
LogicalOr
||
PostInc
++
PostDec
–
Comma
,
DerefMemberPtr
->*
DerefMember
->
Call
()
Index
[]
Question
?:
Spaceship
<=>
Trait Implementations§
source§impl Clone for SimpleOperatorName
impl Clone for SimpleOperatorName
source§fn clone(&self) -> SimpleOperatorName
fn clone(&self) -> SimpleOperatorName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more