pub enum PatternElement {
Node(NodePattern),
Relationship(RelationshipPattern),
}Expand description
An element within a pattern chain.
Variants§
Node(NodePattern)
A node pattern (e.g. (n:Person)).
Relationship(RelationshipPattern)
A relationship pattern (e.g. -[:KNOWS]->).
Trait Implementations§
Source§impl Clone for PatternElement
impl Clone for PatternElement
Source§fn clone(&self) -> PatternElement
fn clone(&self) -> PatternElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PatternElement
impl Debug for PatternElement
Source§impl PartialEq for PatternElement
impl PartialEq for PatternElement
impl StructuralPartialEq for PatternElement
Auto Trait Implementations§
impl Freeze for PatternElement
impl RefUnwindSafe for PatternElement
impl Send for PatternElement
impl Sync for PatternElement
impl Unpin for PatternElement
impl UnsafeUnpin for PatternElement
impl UnwindSafe for PatternElement
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