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: UnscopedVariablevalue: Box<Expression>location: LocationTrait 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
Converts to this type from the input type.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more