Struct tree_sitter_graph::ast::ListLiteral
source · pub struct ListLiteral {
pub elements: Vec<Expression>,
}
Expand description
An ordered list of values
Fields§
§elements: Vec<Expression>
Trait Implementations§
source§impl Debug for ListLiteral
impl Debug for ListLiteral
source§impl Display for ListLiteral
impl Display for ListLiteral
source§impl From<ListLiteral> for Expression
impl From<ListLiteral> for Expression
source§fn from(expr: ListLiteral) -> Expression
fn from(expr: ListLiteral) -> Expression
Converts to this type from the input type.
source§impl PartialEq for ListLiteral
impl PartialEq for ListLiteral
source§fn eq(&self, other: &ListLiteral) -> bool
fn eq(&self, other: &ListLiteral) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ListLiteral
impl StructuralPartialEq for ListLiteral
Auto Trait Implementations§
impl RefUnwindSafe for ListLiteral
impl Send for ListLiteral
impl Sync for ListLiteral
impl Unpin for ListLiteral
impl UnwindSafe for ListLiteral
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