pub struct LabelIndex { /* private fields */ }Implementations§
Source§impl LabelIndex
impl LabelIndex
pub fn build<G: GraphStore>(store: &G, graph: &str) -> GraphStoreResult<Self>
pub fn edges_by_label(&self, label: &str) -> &[EdgeId] ⓘ
pub fn vertices_by_label(&self, label: &str) -> Option<&BTreeSet<VertexId>>
pub fn labels(&self) -> Vec<String>
pub fn label_count(&self, label: &str) -> usize
Trait Implementations§
Source§impl Clone for LabelIndex
impl Clone for LabelIndex
Source§fn clone(&self) -> LabelIndex
fn clone(&self) -> LabelIndex
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 LabelIndex
impl Debug for LabelIndex
Source§impl Default for LabelIndex
impl Default for LabelIndex
Source§fn default() -> LabelIndex
fn default() -> LabelIndex
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LabelIndex
impl RefUnwindSafe for LabelIndex
impl Send for LabelIndex
impl Sync for LabelIndex
impl Unpin for LabelIndex
impl UnsafeUnpin for LabelIndex
impl UnwindSafe for LabelIndex
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