Enum ethers_solc::artifacts::ast::AssignmentOperator
source · pub enum AssignmentOperator {
Assign,
AddAssign,
SubAssign,
MulAssign,
DivAssign,
ModAssign,
OrAssign,
AndAssign,
XorAssign,
ShrAssign,
ShlAssign,
}
Expand description
Assignment operators.
Variants§
Assign
Simple assignment (=
)
AddAssign
Add and assign (+=
)
SubAssign
Subtract and assign (-=
)
MulAssign
Multiply and assign (*=
)
DivAssign
Divide and assign (/=
)
ModAssign
Modulo and assign (%=
)
OrAssign
Bitwise or and assign (|=
)
AndAssign
Bitwise and and assign (&=
)
XorAssign
Bitwise xor and assign (^=
)
ShrAssign
Right shift and assign (>>=
)
ShlAssign
Left shift and assign (<<=
)
Trait Implementations§
source§impl Clone for AssignmentOperator
impl Clone for AssignmentOperator
source§fn clone(&self) -> AssignmentOperator
fn clone(&self) -> AssignmentOperator
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 AssignmentOperator
impl Debug for AssignmentOperator
source§impl<'de> Deserialize<'de> for AssignmentOperator
impl<'de> Deserialize<'de> for AssignmentOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AssignmentOperator
impl PartialEq for AssignmentOperator
source§fn eq(&self, other: &AssignmentOperator) -> bool
fn eq(&self, other: &AssignmentOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AssignmentOperator
impl Serialize for AssignmentOperator
impl Eq for AssignmentOperator
impl StructuralPartialEq for AssignmentOperator
Auto Trait Implementations§
impl RefUnwindSafe for AssignmentOperator
impl Send for AssignmentOperator
impl Sync for AssignmentOperator
impl Unpin for AssignmentOperator
impl UnwindSafe for AssignmentOperator
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.