Struct graphannis_core::graph::storage::union::UnionEdgeContainer
source · [−]pub struct UnionEdgeContainer<'a> { /* private fields */ }Implementations
sourceimpl<'a> UnionEdgeContainer<'a>
impl<'a> UnionEdgeContainer<'a>
pub fn new(containers: Vec<&'a dyn EdgeContainer>) -> UnionEdgeContainer<'a>
Trait Implementations
sourceimpl<'a> EdgeContainer for UnionEdgeContainer<'a>
impl<'a> EdgeContainer for UnionEdgeContainer<'a>
sourcefn get_outgoing_edges<'b>(
&'b self,
node: NodeID
) -> Box<dyn Iterator<Item = Result<NodeID>> + 'b>
fn get_outgoing_edges<'b>(
&'b self,
node: NodeID
) -> Box<dyn Iterator<Item = Result<NodeID>> + 'b>
Get all outgoing edges for a given node.
sourcefn get_ingoing_edges<'b>(
&'b self,
node: NodeID
) -> Box<dyn Iterator<Item = Result<NodeID>> + 'b>
fn get_ingoing_edges<'b>(
&'b self,
node: NodeID
) -> Box<dyn Iterator<Item = Result<NodeID>> + 'b>
Get all incoming edges for a given node.
sourcefn source_nodes<'b>(&'b self) -> Box<dyn Iterator<Item = Result<NodeID>> + 'b>
fn source_nodes<'b>(&'b self) -> Box<dyn Iterator<Item = Result<NodeID>> + 'b>
Provides an iterator over all nodes of this edge container that are the source of an edge
sourcefn has_outgoing_edges(&self, node: NodeID) -> Result<bool>
fn has_outgoing_edges(&self, node: NodeID) -> Result<bool>
Return true of the given node has any outgoing edges.
fn get_statistics(&self) -> Option<&GraphStatistic>
sourceimpl<'a> MallocSizeOf for UnionEdgeContainer<'a>
impl<'a> MallocSizeOf for UnionEdgeContainer<'a>
sourcefn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for UnionEdgeContainer<'a>
impl<'a> Send for UnionEdgeContainer<'a>
impl<'a> Sync for UnionEdgeContainer<'a>
impl<'a> Unpin for UnionEdgeContainer<'a>
impl<'a> !UnwindSafe for UnionEdgeContainer<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more