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 moresource§impl Debug for SimpleOperatorName
impl Debug for SimpleOperatorName
source§impl PartialEq<SimpleOperatorName> for SimpleOperatorName
impl PartialEq<SimpleOperatorName> for SimpleOperatorName
source§fn eq(&self, other: &SimpleOperatorName) -> bool
fn eq(&self, other: &SimpleOperatorName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SimpleOperatorName
impl StructuralEq for SimpleOperatorName
impl StructuralPartialEq for SimpleOperatorName
Auto Trait Implementations§
impl RefUnwindSafe for SimpleOperatorName
impl Send for SimpleOperatorName
impl Sync for SimpleOperatorName
impl Unpin for SimpleOperatorName
impl UnwindSafe for SimpleOperatorName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more