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
sourceimpl Clone for SimpleOperatorName
impl Clone for SimpleOperatorName
sourcefn clone(&self) -> SimpleOperatorName
fn clone(&self) -> SimpleOperatorName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SimpleOperatorName
impl Debug for SimpleOperatorName
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more