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