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