pub struct GraphPathPattern {
pub variable: Option<SymbolPrimitive>,
pub prefix: Option<GraphPathPrefix>,
pub path: AstNode<GraphMatchPathPattern>,
}Fields§
§variable: Option<SymbolPrimitive>the optional element variable of the pattern, e.g.: p in MATCH p = (a) −[t]−> (b)
prefix: Option<GraphPathPrefix>§path: AstNode<GraphMatchPathPattern>the ordered pattern parts
Trait Implementations§
Source§impl Clone for GraphPathPattern
impl Clone for GraphPathPattern
Source§impl Debug for GraphPathPattern
impl Debug for GraphPathPattern
Source§impl PartialEq for GraphPathPattern
impl PartialEq for GraphPathPattern
Source§impl PrettyDoc for GraphPathPattern
impl PrettyDoc for GraphPathPattern
fn pretty_doc<'b, D, A>(&'b self, arena: &'b D) -> DocBuilder<'b, D, A>
impl StructuralPartialEq for GraphPathPattern
Auto Trait Implementations§
impl Freeze for GraphPathPattern
impl RefUnwindSafe for GraphPathPattern
impl Send for GraphPathPattern
impl Sync for GraphPathPattern
impl Unpin for GraphPathPattern
impl UnsafeUnpin for GraphPathPattern
impl UnwindSafe for GraphPathPattern
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