pub struct ArrayAccessNode {
pub arr: ExprKind,
pub index: ExprKind,
pub ssa_version: Option<SsaVersion>,
}
Expand description
Represents a function call
Fields§
§arr: ExprKind
The array to access.
index: ExprKind
The index to access.
ssa_version: Option<SsaVersion>
Represents the SSA version of a variable.
Implementations§
Trait Implementations§
Source§impl Clone for ArrayAccessNode
impl Clone for ArrayAccessNode
Source§fn clone(&self) -> ArrayAccessNode
fn clone(&self) -> ArrayAccessNode
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 ArrayAccessNode
impl Debug for ArrayAccessNode
Source§impl<'de> Deserialize<'de> for ArrayAccessNode
impl<'de> Deserialize<'de> for ArrayAccessNode
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 From<ArrayAccessNode> for AstKind
impl From<ArrayAccessNode> for AstKind
Source§fn from(id: ArrayAccessNode) -> Self
fn from(id: ArrayAccessNode) -> Self
Converts to this type from the input type.
Source§impl From<ArrayAccessNode> for ExprKind
impl From<ArrayAccessNode> for ExprKind
Source§fn from(id: ArrayAccessNode) -> Self
fn from(id: ArrayAccessNode) -> Self
Converts to this type from the input type.
Source§impl From<ArrayAccessNode> for P<AstKind>
impl From<ArrayAccessNode> for P<AstKind>
Source§fn from(id: ArrayAccessNode) -> Self
fn from(id: ArrayAccessNode) -> Self
Converts to this type from the input type.
Source§impl From<ArrayAccessNode> for P<ExprKind>
impl From<ArrayAccessNode> for P<ExprKind>
Source§fn from(id: ArrayAccessNode) -> Self
fn from(id: ArrayAccessNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArrayAccessNode
impl PartialEq for ArrayAccessNode
Source§impl Serialize for ArrayAccessNode
impl Serialize for ArrayAccessNode
impl Eq for ArrayAccessNode
Auto Trait Implementations§
impl Freeze for ArrayAccessNode
impl RefUnwindSafe for ArrayAccessNode
impl Send for ArrayAccessNode
impl Sync for ArrayAccessNode
impl Unpin for ArrayAccessNode
impl UnwindSafe for ArrayAccessNode
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.