pub struct GraphPattern {
pub node_patterns: Vec<NodePattern>,
pub edge_patterns: Vec<EdgePattern>,
pub constraints: Vec<PatternConstraint>,
}Expand description
Graph pattern for pattern matching
Fields§
§node_patterns: Vec<NodePattern>Node patterns
edge_patterns: Vec<EdgePattern>Edge patterns
constraints: Vec<PatternConstraint>Pattern constraints
Trait Implementations§
Source§impl Clone for GraphPattern
impl Clone for GraphPattern
Source§fn clone(&self) -> GraphPattern
fn clone(&self) -> GraphPattern
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 moreAuto Trait Implementations§
impl Freeze for GraphPattern
impl RefUnwindSafe for GraphPattern
impl Send for GraphPattern
impl Sync for GraphPattern
impl Unpin for GraphPattern
impl UnwindSafe for GraphPattern
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