pub struct ArrayElementNode {
pub name: String,
pub subscripts: Vec<Box<ExprNode>>,
pub span: Range<usize>,
}Expand description
Array element node.
Fields§
§name: StringThe name of the array.
subscripts: Vec<Box<ExprNode>>The subscript expressions.
span: Range<usize>The byte range of this node in the source text.
Trait Implementations§
Source§impl Clone for ArrayElementNode
impl Clone for ArrayElementNode
Source§fn clone(&self) -> ArrayElementNode
fn clone(&self) -> ArrayElementNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArrayElementNode
impl Debug for ArrayElementNode
Source§impl<'de> Deserialize<'de> for ArrayElementNode
impl<'de> Deserialize<'de> for ArrayElementNode
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 ArrayElementNode
impl PartialEq for ArrayElementNode
Source§fn eq(&self, other: &ArrayElementNode) -> bool
fn eq(&self, other: &ArrayElementNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArrayElementNode
impl Serialize for ArrayElementNode
impl StructuralPartialEq for ArrayElementNode
Auto Trait Implementations§
impl Freeze for ArrayElementNode
impl RefUnwindSafe for ArrayElementNode
impl Send for ArrayElementNode
impl Sync for ArrayElementNode
impl Unpin for ArrayElementNode
impl UnsafeUnpin for ArrayElementNode
impl UnwindSafe for ArrayElementNode
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