pub struct GraphPattern {
pub vertex_patterns: Vec<VertexPattern>,
pub edge_patterns: Vec<EdgePattern>,
}Expand description
Subgraph pattern: P = (V_P, E_P, C_V, C_E).
Fields§
§vertex_patterns: Vec<VertexPattern>§edge_patterns: Vec<EdgePattern>Implementations§
Source§impl GraphPattern
impl GraphPattern
pub fn new() -> Self
pub fn add_vertex(self, vp: VertexPattern) -> Self
pub fn add_edge(self, ep: EdgePattern) -> Self
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 (const: unstable) · 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 GraphPattern
impl Debug for GraphPattern
Source§impl Default for GraphPattern
impl Default for GraphPattern
Source§fn default() -> GraphPattern
fn default() -> GraphPattern
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for GraphPattern
impl !UnwindSafe for GraphPattern
impl Freeze for GraphPattern
impl Send for GraphPattern
impl Sync for GraphPattern
impl Unpin for GraphPattern
impl UnsafeUnpin 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