pub struct ComparisonExpr {
pub left: Expr,
pub op: &'static str,
pub right: Expr,
}Expand description
Comparison expression like a > b. op is the operator’s AST spelling, a
&'static str from the comparison_op token-to-spelling table
(parser/mod.rs, ADR-0505 §2) — never a runtime-built String.
Fields§
§left: Expr§op: &'static str§right: ExprTrait Implementations§
Source§impl Clone for ComparisonExpr
impl Clone for ComparisonExpr
Source§impl Debug for ComparisonExpr
impl Debug for ComparisonExpr
Source§impl PartialEq for ComparisonExpr
impl PartialEq for ComparisonExpr
impl StructuralPartialEq for ComparisonExpr
Auto Trait Implementations§
impl Forget for ComparisonExpr
impl Freeze for ComparisonExprwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Expr>: Freeze,
PhantomData<MapPair>: Freeze,
PhantomData<InterpPart>: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const PropertyAccess is !null: Freeze,
PhantomData<PropertyAccess>: Freeze,
*const BinaryExpr is !null: Freeze,
PhantomData<BinaryExpr>: Freeze,
*const UnaryExpr is !null: Freeze,
PhantomData<UnaryExpr>: Freeze,
*const ComparisonExpr is !null: Freeze,
PhantomData<ComparisonExpr>: Freeze,
*const InExpr is !null: Freeze,
PhantomData<InExpr>: Freeze,
*const IsNullExpr is !null: Freeze,
PhantomData<IsNullExpr>: Freeze,
*const IsTypeExpr is !null: Freeze,
PhantomData<IsTypeExpr>: Freeze,
*const IsNormalizedExpr is !null: Freeze,
PhantomData<IsNormalizedExpr>: Freeze,
*const ChronologicalCompareExpr is !null: Freeze,
PhantomData<ChronologicalCompareExpr>: Freeze,
*const StringMatchExpr is !null: Freeze,
PhantomData<StringMatchExpr>: Freeze,
*const CaseExpr is !null: Freeze,
PhantomData<CaseExpr>: Freeze,
*const ExistsSubqueryExpr is !null: Freeze,
PhantomData<ExistsSubqueryExpr>: Freeze,
*const CountSubqueryExpr is !null: Freeze,
PhantomData<CountSubqueryExpr>: Freeze,
*const CollectSubqueryExpr is !null: Freeze,
PhantomData<CollectSubqueryExpr>: Freeze,
*const ListComprehensionExpr is !null: Freeze,
PhantomData<ListComprehensionExpr>: Freeze,
*const MapComprehensionExpr is !null: Freeze,
PhantomData<MapComprehensionExpr>: Freeze,
*const PatternComprehensionExpr is !null: Freeze,
PhantomData<PatternComprehensionExpr>: Freeze,
*const ReduceExpr is !null: Freeze,
PhantomData<ReduceExpr>: Freeze,
*const AllReduceExpr is !null: Freeze,
PhantomData<AllReduceExpr>: Freeze,
*const ShortestPathExpr is !null: Freeze,
PhantomData<ShortestPathExpr>: Freeze,
*const SubscriptExpr is !null: Freeze,
PhantomData<SubscriptExpr>: Freeze,
*const QuantifierExpr is !null: Freeze,
PhantomData<QuantifierExpr>: Freeze,
*const HasLabelExpr is !null: Freeze,
PhantomData<HasLabelExpr>: Freeze,
*const Expr is !null: Freeze,
*const PatternPredicateExpr is !null: Freeze,
PhantomData<PatternPredicateExpr>: Freeze,
*const MapProjectionExpr is !null: Freeze,
PhantomData<MapProjectionExpr>: Freeze,
&'static str: Freeze,
impl Move for ComparisonExpr
impl RefUnwindSafe for ComparisonExpr
impl Send for ComparisonExprwhere
RawVecInner: Send,
Arc<str>: Send,
BoxRaw<Expr>: Send,
BoxRaw<PropertyAccess>: Send,
BoxRaw<BinaryExpr>: Send,
BoxRaw<UnaryExpr>: Send,
BoxRaw<ComparisonExpr>: Send,
BoxRaw<InExpr>: Send,
BoxRaw<IsNullExpr>: Send,
BoxRaw<IsTypeExpr>: Send,
BoxRaw<IsNormalizedExpr>: Send,
BoxRaw<ChronologicalCompareExpr>: Send,
BoxRaw<StringMatchExpr>: Send,
BoxRaw<CaseExpr>: Send,
BoxRaw<ExistsSubqueryExpr>: Send,
BoxRaw<CountSubqueryExpr>: Send,
BoxRaw<CollectSubqueryExpr>: Send,
BoxRaw<ListComprehensionExpr>: Send,
BoxRaw<MapComprehensionExpr>: Send,
BoxRaw<PatternComprehensionExpr>: Send,
BoxRaw<ReduceExpr>: Send,
BoxRaw<AllReduceExpr>: Send,
BoxRaw<ShortestPathExpr>: Send,
BoxRaw<SubscriptExpr>: Send,
BoxRaw<QuantifierExpr>: Send,
BoxRaw<HasLabelExpr>: Send,
BoxRaw<PatternPredicateExpr>: Send,
BoxRaw<MapProjectionExpr>: Send,
&'static str: Send,
impl Sync for ComparisonExprwhere
RawVecInner: Sync,
Arc<str>: Sync,
BoxRaw<Expr>: Sync,
BoxRaw<PropertyAccess>: Sync,
BoxRaw<BinaryExpr>: Sync,
BoxRaw<UnaryExpr>: Sync,
BoxRaw<ComparisonExpr>: Sync,
BoxRaw<InExpr>: Sync,
BoxRaw<IsNullExpr>: Sync,
BoxRaw<IsTypeExpr>: Sync,
BoxRaw<IsNormalizedExpr>: Sync,
BoxRaw<ChronologicalCompareExpr>: Sync,
BoxRaw<StringMatchExpr>: Sync,
BoxRaw<CaseExpr>: Sync,
BoxRaw<ExistsSubqueryExpr>: Sync,
BoxRaw<CountSubqueryExpr>: Sync,
BoxRaw<CollectSubqueryExpr>: Sync,
BoxRaw<ListComprehensionExpr>: Sync,
BoxRaw<MapComprehensionExpr>: Sync,
BoxRaw<PatternComprehensionExpr>: Sync,
BoxRaw<ReduceExpr>: Sync,
BoxRaw<AllReduceExpr>: Sync,
BoxRaw<ShortestPathExpr>: Sync,
BoxRaw<SubscriptExpr>: Sync,
BoxRaw<QuantifierExpr>: Sync,
BoxRaw<HasLabelExpr>: Sync,
BoxRaw<PatternPredicateExpr>: Sync,
BoxRaw<MapProjectionExpr>: Sync,
impl Unpin for ComparisonExprwhere
*const u8 is !null: Unpin,
Arc<str>: Unpin,
Box<Expr>: Unpin,
Box<PropertyAccess>: Unpin,
Box<BinaryExpr>: Unpin,
Box<UnaryExpr>: Unpin,
Box<ComparisonExpr>: Unpin,
Box<InExpr>: Unpin,
Box<IsNullExpr>: Unpin,
Box<IsTypeExpr>: Unpin,
Box<IsNormalizedExpr>: Unpin,
Box<ChronologicalCompareExpr>: Unpin,
Box<StringMatchExpr>: Unpin,
Box<CaseExpr>: Unpin,
Box<ExistsSubqueryExpr>: Unpin,
Box<CountSubqueryExpr>: Unpin,
Box<CollectSubqueryExpr>: Unpin,
Box<ListComprehensionExpr>: Unpin,
Box<MapComprehensionExpr>: Unpin,
Box<PatternComprehensionExpr>: Unpin,
Box<ReduceExpr>: Unpin,
Box<AllReduceExpr>: Unpin,
Box<ShortestPathExpr>: Unpin,
Box<SubscriptExpr>: Unpin,
Box<QuantifierExpr>: Unpin,
Box<HasLabelExpr>: Unpin,
Box<PatternPredicateExpr>: Unpin,
Box<MapProjectionExpr>: Unpin,
&'static str: Unpin,
impl UnsafeUnpin for ComparisonExprwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
PhantomData<MapPair>: UnsafeUnpin,
PhantomData<InterpPart>: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const PropertyAccess is !null: UnsafeUnpin,
PhantomData<PropertyAccess>: UnsafeUnpin,
*const BinaryExpr is !null: UnsafeUnpin,
PhantomData<BinaryExpr>: UnsafeUnpin,
*const UnaryExpr is !null: UnsafeUnpin,
PhantomData<UnaryExpr>: UnsafeUnpin,
*const ComparisonExpr is !null: UnsafeUnpin,
PhantomData<ComparisonExpr>: UnsafeUnpin,
*const InExpr is !null: UnsafeUnpin,
PhantomData<InExpr>: UnsafeUnpin,
*const IsNullExpr is !null: UnsafeUnpin,
PhantomData<IsNullExpr>: UnsafeUnpin,
*const IsTypeExpr is !null: UnsafeUnpin,
PhantomData<IsTypeExpr>: UnsafeUnpin,
*const IsNormalizedExpr is !null: UnsafeUnpin,
PhantomData<IsNormalizedExpr>: UnsafeUnpin,
*const ChronologicalCompareExpr is !null: UnsafeUnpin,
PhantomData<ChronologicalCompareExpr>: UnsafeUnpin,
*const StringMatchExpr is !null: UnsafeUnpin,
PhantomData<StringMatchExpr>: UnsafeUnpin,
*const CaseExpr is !null: UnsafeUnpin,
PhantomData<CaseExpr>: UnsafeUnpin,
*const ExistsSubqueryExpr is !null: UnsafeUnpin,
PhantomData<ExistsSubqueryExpr>: UnsafeUnpin,
*const CountSubqueryExpr is !null: UnsafeUnpin,
PhantomData<CountSubqueryExpr>: UnsafeUnpin,
*const CollectSubqueryExpr is !null: UnsafeUnpin,
PhantomData<CollectSubqueryExpr>: UnsafeUnpin,
*const ListComprehensionExpr is !null: UnsafeUnpin,
PhantomData<ListComprehensionExpr>: UnsafeUnpin,
*const MapComprehensionExpr is !null: UnsafeUnpin,
PhantomData<MapComprehensionExpr>: UnsafeUnpin,
*const PatternComprehensionExpr is !null: UnsafeUnpin,
PhantomData<PatternComprehensionExpr>: UnsafeUnpin,
*const ReduceExpr is !null: UnsafeUnpin,
PhantomData<ReduceExpr>: UnsafeUnpin,
*const AllReduceExpr is !null: UnsafeUnpin,
PhantomData<AllReduceExpr>: UnsafeUnpin,
*const ShortestPathExpr is !null: UnsafeUnpin,
PhantomData<ShortestPathExpr>: UnsafeUnpin,
*const SubscriptExpr is !null: UnsafeUnpin,
PhantomData<SubscriptExpr>: UnsafeUnpin,
*const QuantifierExpr is !null: UnsafeUnpin,
PhantomData<QuantifierExpr>: UnsafeUnpin,
*const HasLabelExpr is !null: UnsafeUnpin,
PhantomData<HasLabelExpr>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
*const PatternPredicateExpr is !null: UnsafeUnpin,
PhantomData<PatternPredicateExpr>: UnsafeUnpin,
*const MapProjectionExpr is !null: UnsafeUnpin,
PhantomData<MapProjectionExpr>: UnsafeUnpin,
&'static str: UnsafeUnpin,
impl UnwindSafe for ComparisonExprwhere
RawVecInner: UnwindSafe,
Arc<str>: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<PropertyAccess>: UnwindSafe,
BoxRaw<BinaryExpr>: UnwindSafe,
BoxRaw<UnaryExpr>: UnwindSafe,
BoxRaw<ComparisonExpr>: UnwindSafe,
BoxRaw<InExpr>: UnwindSafe,
BoxRaw<IsNullExpr>: UnwindSafe,
BoxRaw<IsTypeExpr>: UnwindSafe,
BoxRaw<IsNormalizedExpr>: UnwindSafe,
BoxRaw<ChronologicalCompareExpr>: UnwindSafe,
BoxRaw<StringMatchExpr>: UnwindSafe,
BoxRaw<CaseExpr>: UnwindSafe,
BoxRaw<ExistsSubqueryExpr>: UnwindSafe,
BoxRaw<CountSubqueryExpr>: UnwindSafe,
BoxRaw<CollectSubqueryExpr>: UnwindSafe,
BoxRaw<ListComprehensionExpr>: UnwindSafe,
BoxRaw<MapComprehensionExpr>: UnwindSafe,
BoxRaw<PatternComprehensionExpr>: UnwindSafe,
BoxRaw<ReduceExpr>: UnwindSafe,
BoxRaw<AllReduceExpr>: UnwindSafe,
BoxRaw<ShortestPathExpr>: UnwindSafe,
BoxRaw<SubscriptExpr>: UnwindSafe,
BoxRaw<QuantifierExpr>: UnwindSafe,
BoxRaw<HasLabelExpr>: UnwindSafe,
BoxRaw<PatternPredicateExpr>: UnwindSafe,
BoxRaw<MapProjectionExpr>: UnwindSafe,
&'static str: UnwindSafe,
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