[−][src]Trait bigraph::ImmutableGraphContainer
Required methods
fn node_indices(&self) -> GraphIndices<Self::NodeIndex, Self::OptionalNodeIndex>ⓘImportant traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
Important traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
fn edge_indices(&self) -> GraphIndices<Self::EdgeIndex, Self::OptionalEdgeIndex>ⓘImportant traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
Important traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
fn contains_node_index(&self, node_id: Self::NodeIndex) -> bool
fn contains_edge_index(&self, edge_id: Self::EdgeIndex) -> bool
fn node_count(&self) -> usize
fn edge_count(&self) -> usize
fn node_data(&self, node_id: Self::NodeIndex) -> &Self::NodeData
Returns the node data associated with the given node id, or None if there is no such node.
fn edge_data(&self, edge_id: Self::EdgeIndex) -> &Self::EdgeData
Returns the edge data associated with the given edge id, or None if there is no such edge.
fn node_data_mut(&mut self, node_id: Self::NodeIndex) -> &mut Self::NodeData
fn edge_data_mut(&mut self, edge_id: Self::EdgeIndex) -> &mut Self::EdgeData
fn contains_edge(&self, from: Self::NodeIndex, to: Self::NodeIndex) -> bool
Provided methods
Loading content...Implementors
impl<NodeData, EdgeData> ImmutableGraphContainer for Graph<NodeData, EdgeData, Directed, usize>
[src]
fn node_indices(
&self
) -> GraphIndices<<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex, <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::OptionalNodeIndex>ⓘImportant traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
[src]
&self
) -> GraphIndices<<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex, <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::OptionalNodeIndex>ⓘ
Important traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
fn edge_indices(
&self
) -> GraphIndices<<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex, <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::OptionalEdgeIndex>ⓘImportant traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
[src]
&self
) -> GraphIndices<<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex, <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::OptionalEdgeIndex>ⓘ
Important traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
fn contains_node_index(
&self,
node_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> bool
[src]
&self,
node_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> bool
fn contains_edge_index(
&self,
edge_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex
) -> bool
[src]
&self,
edge_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex
) -> bool
fn node_count(&self) -> usize
[src]
fn edge_count(&self) -> usize
[src]
fn node_data(
&self,
node_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> &<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeData
[src]
&self,
node_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> &<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeData
fn edge_data(
&self,
edge_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex
) -> &<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeData
[src]
&self,
edge_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex
) -> &<Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeData
fn node_data_mut(
&mut self,
node_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> &mut <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeData
[src]
&mut self,
node_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> &mut <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeData
fn edge_data_mut(
&mut self,
edge_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex
) -> &mut <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeData
[src]
&mut self,
edge_id: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeIndex
) -> &mut <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::EdgeData
fn contains_edge(
&self,
from: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex,
to: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> bool
[src]
&self,
from: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex,
to: <Graph<NodeData, EdgeData, Directed, usize> as GraphBase>::NodeIndex
) -> bool
impl<Topology: ImmutableGraphContainer> ImmutableGraphContainer for NodeBigraphWrapper<Topology>
[src]
fn node_indices(&self) -> GraphIndices<Self::NodeIndex, Self::OptionalNodeIndex>ⓘImportant traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
[src]
Important traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
fn edge_indices(&self) -> GraphIndices<Self::EdgeIndex, Self::OptionalEdgeIndex>ⓘImportant traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;
[src]
Important traits for GraphIndices<IndexType, OptionalIndexType>
impl<OptionalIndexType, IndexType> Iterator for GraphIndices<IndexType, OptionalIndexType> where
IndexType: GraphIndex<OptionalIndexType>,
OptionalIndexType: OptionalGraphIndex<IndexType>, type Item = IndexType;