pub struct QuantifiedPathPattern {
pub subpath_variable: Option<SmallName>,
pub elements: Vec<PatternElement>,
pub where_clause: Option<Expr>,
pub min: u32,
pub max: Option<u32>,
}Fields§
§subpath_variable: Option<SmallName>§elements: Vec<PatternElement>§where_clause: Option<Expr>§min: u32§max: Option<u32>Implementations§
Source§impl QuantifiedPathPattern
impl QuantifiedPathPattern
Sourcepub fn implicit_var_length_rel(&self) -> Option<&RelPattern>
pub fn implicit_var_length_rel(&self) -> Option<&RelPattern>
The inner rel when this element is exactly a quantified var-length
relationship — one plain one-hop rel between two implicit anonymous
boundary nodes, no subpath variable, no group predicate: the form
every -[r:T*m..n]- spelling lowers to (LABS-661), with the hop
bounds on the quantifier (min/max). The rel’s quantified
marker (the postfix ->{m,n} spelling’s origin, carrying its
per-edge inline-WHERE semantics) does not change the shape. Any
other quantified shape (a parenthesized group with named inner
elements) answers None. The one decoder for this shape — the
shortest-route guard, the plan-text renderer, and the group-name
origin rules all consult it.
Trait Implementations§
Source§impl Clone for QuantifiedPathPattern
impl Clone for QuantifiedPathPattern
Source§impl Debug for QuantifiedPathPattern
impl Debug for QuantifiedPathPattern
Source§impl PartialEq for QuantifiedPathPattern
impl PartialEq for QuantifiedPathPattern
impl StructuralPartialEq for QuantifiedPathPattern
Auto Trait Implementations§
impl Forget for QuantifiedPathPattern
impl Freeze for QuantifiedPathPatternwhere
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<PatternElement>: Freeze,
*const ArcInner<Vec<Value>> is !null: Freeze,
PhantomData<ArcInner<Vec<Value>>>: Freeze,
*const ArcInner<BTreeMap<String, Value>> is !null: Freeze,
PhantomData<ArcInner<BTreeMap<String, Value>>>: Freeze,
*const ArcInner<Node> is !null: Freeze,
PhantomData<ArcInner<Node>>: Freeze,
*const ArcInner<Relationship> is !null: Freeze,
PhantomData<ArcInner<Relationship>>: Freeze,
*const ArcInner<Path> is !null: Freeze,
PhantomData<ArcInner<Path>>: Freeze,
NonZero<i32>: Freeze,
PhantomData<u8>: Freeze,
*const CivilZonedFields is !null: Freeze,
PhantomData<CivilZonedFields>: Freeze,
*const ArcInner<[f32]> is !null: Freeze,
PhantomData<ArcInner<[f32]>>: Freeze,
*const ArcInner<[f64]> is !null: Freeze,
PhantomData<ArcInner<[f64]>>: Freeze,
*const ArcInner<[i64]> is !null: Freeze,
PhantomData<ArcInner<[i64]>>: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
*const LabelExpr is !null: Freeze,
PhantomData<LabelExpr>: Freeze,
PhantomData<(String, Expr)>: Freeze,
PhantomData<(Expr, Expr)>: Freeze,
*const TypeExpr is !null: Freeze,
PhantomData<TypeExpr>: Freeze,
PhantomData<MapProjectionItem>: Freeze,
PhantomData<NodePattern>: Freeze,
PhantomData<RelPattern>: Freeze,
PhantomData<SingleQuery>: Freeze,
PhantomData<bool>: Freeze,
*const Query is !null: Freeze,
PhantomData<Query>: Freeze,
impl Move for QuantifiedPathPattern
impl RefUnwindSafe for QuantifiedPathPattern
impl Send for QuantifiedPathPatternwhere
Arc<str>: Send,
RawVecInner: Send,
BoxRaw<Expr>: Send,
BoxRaw<LabelExpr>: Send,
Arc<Vec<Value>>: Send,
Arc<BTreeMap<String, Value>>: Send,
Arc<Node>: Send,
Arc<Relationship>: Send,
Arc<Path>: Send,
NonZero<i32>: Send,
BoxRaw<CivilZonedFields>: Send,
Arc<[f32]>: Send,
Arc<[f64]>: Send,
Arc<[i64]>: Send,
Arc<[u8]>: Send,
BoxRaw<TypeExpr>: Send,
BoxRaw<Clause>: Send,
BoxRaw<SearchClause>: Send,
BoxRaw<Query>: Send,
impl Sync for QuantifiedPathPatternwhere
Arc<str>: Sync,
RawVecInner: Sync,
BoxRaw<Expr>: Sync,
BoxRaw<LabelExpr>: Sync,
Arc<Vec<Value>>: Sync,
Arc<BTreeMap<String, Value>>: Sync,
Arc<Node>: Sync,
Arc<Relationship>: Sync,
Arc<Path>: Sync,
NonZero<i32>: Sync,
BoxRaw<CivilZonedFields>: Sync,
Arc<[f32]>: Sync,
Arc<[f64]>: Sync,
Arc<[i64]>: Sync,
Arc<[u8]>: Sync,
BoxRaw<TypeExpr>: Sync,
BoxRaw<Clause>: Sync,
BoxRaw<SearchClause>: Sync,
BoxRaw<Query>: Sync,
impl Unpin for QuantifiedPathPatternwhere
Arc<str>: Unpin,
*const u8 is !null: Unpin,
Box<Expr>: Unpin,
Box<LabelExpr>: Unpin,
Arc<Vec<Value>>: Unpin,
Arc<BTreeMap<String, Value>>: Unpin,
Arc<Node>: Unpin,
Arc<Relationship>: Unpin,
Arc<Path>: Unpin,
NonZero<i32>: Unpin,
Box<CivilZonedFields>: Unpin,
Arc<[f32]>: Unpin,
Arc<[f64]>: Unpin,
Arc<[i64]>: Unpin,
Arc<[u8]>: Unpin,
Box<TypeExpr>: Unpin,
Box<Clause>: Unpin,
Box<SearchClause>: Unpin,
Box<Query>: Unpin,
impl UnsafeUnpin for QuantifiedPathPatternwhere
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<PatternElement>: UnsafeUnpin,
*const ArcInner<Vec<Value>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<Value>>>: UnsafeUnpin,
*const ArcInner<BTreeMap<String, Value>> is !null: UnsafeUnpin,
PhantomData<ArcInner<BTreeMap<String, Value>>>: UnsafeUnpin,
*const ArcInner<Node> is !null: UnsafeUnpin,
PhantomData<ArcInner<Node>>: UnsafeUnpin,
*const ArcInner<Relationship> is !null: UnsafeUnpin,
PhantomData<ArcInner<Relationship>>: UnsafeUnpin,
*const ArcInner<Path> is !null: UnsafeUnpin,
PhantomData<ArcInner<Path>>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const CivilZonedFields is !null: UnsafeUnpin,
PhantomData<CivilZonedFields>: UnsafeUnpin,
*const ArcInner<[f32]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[f32]>>: UnsafeUnpin,
*const ArcInner<[f64]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[f64]>>: UnsafeUnpin,
*const ArcInner<[i64]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[i64]>>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
*const LabelExpr is !null: UnsafeUnpin,
PhantomData<LabelExpr>: UnsafeUnpin,
PhantomData<(String, Expr)>: UnsafeUnpin,
PhantomData<(Expr, Expr)>: UnsafeUnpin,
*const TypeExpr is !null: UnsafeUnpin,
PhantomData<TypeExpr>: UnsafeUnpin,
PhantomData<MapProjectionItem>: UnsafeUnpin,
PhantomData<NodePattern>: UnsafeUnpin,
PhantomData<RelPattern>: UnsafeUnpin,
PhantomData<SingleQuery>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
impl UnwindSafe for QuantifiedPathPatternwhere
Arc<str>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<LabelExpr>: UnwindSafe,
Arc<Vec<Value>>: UnwindSafe,
Arc<BTreeMap<String, Value>>: UnwindSafe,
Arc<Node>: UnwindSafe,
Arc<Relationship>: UnwindSafe,
Arc<Path>: UnwindSafe,
NonZero<i32>: UnwindSafe,
BoxRaw<CivilZonedFields>: UnwindSafe,
Arc<[f32]>: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[i64]>: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<TypeExpr>: UnwindSafe,
BoxRaw<Clause>: UnwindSafe,
BoxRaw<SearchClause>: UnwindSafe,
BoxRaw<Query>: 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