Struct ethers_solc::artifacts::ast::Assignment
source · pub struct Assignment {
pub id: usize,
pub src: SourceLocation,
pub argument_types: Vec<TypeDescriptions>,
pub is_constant: bool,
pub is_l_value: bool,
pub is_pure: bool,
pub l_value_requested: bool,
pub type_descriptions: TypeDescriptions,
pub lhs: Expression,
pub operator: AssignmentOperator,
pub rhs: Expression,
}
Expand description
An assignment expression.
Fields§
§id: usize
§src: SourceLocation
§argument_types: Vec<TypeDescriptions>
§is_constant: bool
§is_l_value: bool
§is_pure: bool
§l_value_requested: bool
§type_descriptions: TypeDescriptions
§lhs: Expression
§operator: AssignmentOperator
§rhs: Expression
Trait Implementations§
source§impl Clone for Assignment
impl Clone for Assignment
source§fn clone(&self) -> Assignment
fn clone(&self) -> Assignment
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 Assignment
impl Debug for Assignment
source§impl<'de> Deserialize<'de> for Assignment
impl<'de> Deserialize<'de> for Assignment
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 Assignment
impl PartialEq for Assignment
source§fn eq(&self, other: &Assignment) -> bool
fn eq(&self, other: &Assignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Assignment
impl Serialize for Assignment
impl Eq for Assignment
impl StructuralPartialEq for Assignment
Auto Trait Implementations§
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnwindSafe for Assignment
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.