#[non_exhaustive]pub enum GraphMatchPathPattern {
Path(Vec<AstNode<GraphMatchPathPattern>>),
Union(Vec<AstNode<GraphMatchPathPattern>>),
Multiset(Vec<AstNode<GraphMatchPathPattern>>),
Questioned(Box<AstNode<GraphMatchPathPattern>>),
Quantified(GraphMatchPathPatternQuantified),
Sub(Box<AstNode<GraphPathSubPattern>>),
Node(AstNode<GraphMatchNode>),
Edge(AstNode<GraphMatchEdge>),
Simplified(AstNode<GraphMatchSimplified>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Path(Vec<AstNode<GraphMatchPathPattern>>)
Union(Vec<AstNode<GraphMatchPathPattern>>)
Multiset(Vec<AstNode<GraphMatchPathPattern>>)
Questioned(Box<AstNode<GraphMatchPathPattern>>)
Quantified(GraphMatchPathPatternQuantified)
Sub(Box<AstNode<GraphPathSubPattern>>)
Node(AstNode<GraphMatchNode>)
A single node in a graph pattern.
Edge(AstNode<GraphMatchEdge>)
A single edge in a graph pattern.
Simplified(AstNode<GraphMatchSimplified>)
Trait Implementations§
Source§impl Clone for GraphMatchPathPattern
impl Clone for GraphMatchPathPattern
Source§impl Debug for GraphMatchPathPattern
impl Debug for GraphMatchPathPattern
Source§impl PartialEq for GraphMatchPathPattern
impl PartialEq for GraphMatchPathPattern
Source§impl PrettyDoc for GraphMatchPathPattern
impl PrettyDoc for GraphMatchPathPattern
fn pretty_doc<'b, D, A>(&'b self, arena: &'b D) -> DocBuilder<'b, D, A>
impl StructuralPartialEq for GraphMatchPathPattern
Auto Trait Implementations§
impl Freeze for GraphMatchPathPattern
impl RefUnwindSafe for GraphMatchPathPattern
impl Send for GraphMatchPathPattern
impl Sync for GraphMatchPathPattern
impl Unpin for GraphMatchPathPattern
impl UnsafeUnpin for GraphMatchPathPattern
impl UnwindSafe for GraphMatchPathPattern
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