Struct tree_sitter_graph::ast::SetComprehension
source · pub struct SetComprehension {
pub element: Box<Expression>,
pub variable: UnscopedVariable,
pub value: Box<Expression>,
pub location: Location,
}
Expand description
An set comprehension
Fields§
§element: Box<Expression>
§variable: UnscopedVariable
§value: Box<Expression>
§location: Location
Trait Implementations§
source§impl Debug for SetComprehension
impl Debug for SetComprehension
source§impl Display for SetComprehension
impl Display for SetComprehension
source§impl From<SetComprehension> for Expression
impl From<SetComprehension> for Expression
source§fn from(expr: SetComprehension) -> Expression
fn from(expr: SetComprehension) -> Expression
Converts to this type from the input type.
source§impl PartialEq for SetComprehension
impl PartialEq for SetComprehension
source§fn 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 ==
.impl Eq 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§
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