Enum cpp_demangle::ast::OperatorName
[−]
[src]
pub enum OperatorName { 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, }
The <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
?:
Trait Implementations
impl Clone for OperatorName
[src]
fn clone(&self) -> OperatorName
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for OperatorName
[src]
impl Hash for OperatorName
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for OperatorName
[src]
fn eq(&self, __arg_0: &OperatorName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.