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
sourceimpl Debug for SetLiteral
impl Debug for SetLiteral
sourceimpl Display for SetLiteral
impl Display for SetLiteral
sourceimpl From<SetLiteral> for Expression
impl From<SetLiteral> for Expression
sourcefn from(expr: SetLiteral) -> Expression
fn from(expr: SetLiteral) -> Expression
Converts to this type from the input type.
sourceimpl PartialEq<SetLiteral> for SetLiteral
impl PartialEq<SetLiteral> for SetLiteral
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &SetLiteral) -> bool
fn ne(&self, other: &SetLiteral) -> bool
This method tests for !=.
impl Eq for SetLiteral
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more