pub enum BranchShape<'a> {
Items(&'a [ReturnItem]),
Wildcard,
Omitted,
}Expand description
A statement arm’s result shape, as far as the text decides it: the
UNION column rules compare it across arms (see branch_shape).
Variants§
Items(&'a [ReturnItem])
A trailing RETURN with these explicit items.
Wildcard
RETURN *, or a trailing CALL subquery that exports columns:
the column set is unknowable until execution.
Omitted
No result at all (FINISH, a write-only arm, a unit CALL).
Trait Implementations§
Source§impl<'a> Clone for BranchShape<'a>
impl<'a> Clone for BranchShape<'a>
impl<'a> Copy for BranchShape<'a>
Source§impl<'a> Debug for BranchShape<'a>
impl<'a> Debug for BranchShape<'a>
Source§impl<'a> PartialEq for BranchShape<'a>
impl<'a> PartialEq for BranchShape<'a>
impl<'a> StructuralPartialEq for BranchShape<'a>
Auto Trait Implementations§
impl<'a> Forget for BranchShape<'a>
impl<'a> Freeze for BranchShape<'a>where
&'a [ReturnItem]: Freeze,
impl<'a> Move for BranchShape<'a>
impl<'a> RefUnwindSafe for BranchShape<'a>
impl<'a> Send for BranchShape<'a>where
&'a [ReturnItem]: Send,
impl<'a> Sync for BranchShape<'a>where
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<'a> Unpin for BranchShape<'a>where
&'a [ReturnItem]: Unpin,
impl<'a> UnsafeUnpin for BranchShape<'a>where
&'a [ReturnItem]: UnsafeUnpin,
impl<'a> UnwindSafe for BranchShape<'a>where
&'a [ReturnItem]: 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