Struct tree_sitter_graph::ast::SetComprehension
source · [−]pub struct SetComprehension {
pub elements: Vec<Expression>,
}
Expand description
An unordered set of values
Fields
elements: Vec<Expression>
Trait Implementations
sourceimpl Debug for SetComprehension
impl Debug for SetComprehension
sourceimpl Display for SetComprehension
impl Display for SetComprehension
sourceimpl From<SetComprehension> for Expression
impl From<SetComprehension> for Expression
sourcefn from(expr: SetComprehension) -> Expression
fn from(expr: SetComprehension) -> Expression
Performs the conversion.
sourceimpl PartialEq<SetComprehension> for SetComprehension
impl PartialEq<SetComprehension> for SetComprehension
sourcefn eq(&self, other: &SetComprehension) -> bool
fn eq(&self, other: &SetComprehension) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SetComprehension) -> bool
fn ne(&self, other: &SetComprehension) -> bool
This method tests for !=
.
impl Eq for SetComprehension
impl StructuralEq for SetComprehension
impl StructuralPartialEq for SetComprehension
Auto Trait Implementations
impl RefUnwindSafe for SetComprehension
impl !Send for SetComprehension
impl !Sync for SetComprehension
impl Unpin for SetComprehension
impl UnwindSafe for SetComprehension
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more