Struct ethers_solc::artifacts::ast::IndexAccess
source · pub struct IndexAccess {
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 base_expression: Expression,
pub index_expression: Option<Expression>,
}
Expand description
An index access.
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
§base_expression: Expression
§index_expression: Option<Expression>
Trait Implementations§
source§impl Clone for IndexAccess
impl Clone for IndexAccess
source§fn clone(&self) -> IndexAccess
fn clone(&self) -> IndexAccess
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 IndexAccess
impl Debug for IndexAccess
source§impl<'de> Deserialize<'de> for IndexAccess
impl<'de> Deserialize<'de> for IndexAccess
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 IndexAccess
impl PartialEq for IndexAccess
source§fn eq(&self, other: &IndexAccess) -> bool
fn eq(&self, other: &IndexAccess) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IndexAccess
impl Serialize for IndexAccess
impl Eq for IndexAccess
impl StructuralPartialEq for IndexAccess
Auto Trait Implementations§
impl RefUnwindSafe for IndexAccess
impl Send for IndexAccess
impl Sync for IndexAccess
impl Unpin for IndexAccess
impl UnwindSafe for IndexAccess
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.