#[non_exhaustive]pub enum GraphMatchSimplifiedPattern {
Union(Vec<AstNode<GraphMatchSimplifiedPattern>>),
Multiset(Vec<AstNode<GraphMatchSimplifiedPattern>>),
Path(Vec<AstNode<GraphMatchSimplifiedPattern>>),
Sub(Box<AstNode<GraphMatchSimplifiedPattern>>),
Conjunction(Vec<AstNode<GraphMatchSimplifiedPattern>>),
Questioned(Box<AstNode<GraphMatchSimplifiedPattern>>),
Quantified(GraphMatchSimplifiedPatternQuantified),
Direction(GraphMatchSimplifiedPatternDirected),
Negated(Box<AstNode<GraphMatchSimplifiedPattern>>),
Label(SymbolPrimitive),
}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.
Union(Vec<AstNode<GraphMatchSimplifiedPattern>>)
Multiset(Vec<AstNode<GraphMatchSimplifiedPattern>>)
Path(Vec<AstNode<GraphMatchSimplifiedPattern>>)
Sub(Box<AstNode<GraphMatchSimplifiedPattern>>)
Conjunction(Vec<AstNode<GraphMatchSimplifiedPattern>>)
Questioned(Box<AstNode<GraphMatchSimplifiedPattern>>)
Quantified(GraphMatchSimplifiedPatternQuantified)
Direction(GraphMatchSimplifiedPatternDirected)
Direction override
Negated(Box<AstNode<GraphMatchSimplifiedPattern>>)
Label(SymbolPrimitive)
Trait Implementations§
Source§impl Clone for GraphMatchSimplifiedPattern
impl Clone for GraphMatchSimplifiedPattern
Source§impl Debug for GraphMatchSimplifiedPattern
impl Debug for GraphMatchSimplifiedPattern
Source§impl PrettyDoc for GraphMatchSimplifiedPattern
impl PrettyDoc for GraphMatchSimplifiedPattern
fn pretty_doc<'b, D, A>(&'b self, arena: &'b D) -> DocBuilder<'b, D, A>
impl StructuralPartialEq for GraphMatchSimplifiedPattern
Auto Trait Implementations§
impl Freeze for GraphMatchSimplifiedPattern
impl RefUnwindSafe for GraphMatchSimplifiedPattern
impl Send for GraphMatchSimplifiedPattern
impl Sync for GraphMatchSimplifiedPattern
impl Unpin for GraphMatchSimplifiedPattern
impl UnsafeUnpin for GraphMatchSimplifiedPattern
impl UnwindSafe for GraphMatchSimplifiedPattern
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