pub struct SubgraphIndex { /* private fields */ }Implementations§
Source§impl SubgraphIndex
impl SubgraphIndex
pub fn build<G: GraphStore>( store: &G, patterns: &[GraphPattern], graph: &str, ) -> GraphStoreResult<Self>
pub fn lookup( &self, pattern: &GraphPattern, ) -> Option<&BTreeSet<BTreeSet<VertexId>>>
pub fn has_pattern(&self, pattern: &GraphPattern) -> bool
pub fn indexed_patterns(&self) -> Vec<String>
pub fn invalidate_by_edge_labels(&mut self, labels: &BTreeSet<String>)
Trait Implementations§
Source§impl Clone for SubgraphIndex
impl Clone for SubgraphIndex
Source§fn clone(&self) -> SubgraphIndex
fn clone(&self) -> SubgraphIndex
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 SubgraphIndex
impl Debug for SubgraphIndex
Source§impl Default for SubgraphIndex
impl Default for SubgraphIndex
Source§fn default() -> SubgraphIndex
fn default() -> SubgraphIndex
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SubgraphIndex
impl RefUnwindSafe for SubgraphIndex
impl Send for SubgraphIndex
impl Sync for SubgraphIndex
impl Unpin for SubgraphIndex
impl UnsafeUnpin for SubgraphIndex
impl UnwindSafe for SubgraphIndex
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