Trait petgraph::visit::IntoNodeReferences [−][src]
pub trait IntoNodeReferences: Data + IntoNodeIdentifiers { type NodeRef: NodeRef<NodeId = Self::NodeId, Weight = Self::NodeWeight>; type NodeReferences: Iterator<Item = Self::NodeRef>; fn node_references(self) -> Self::NodeReferences; }
Access to the sequence of the graph’s nodes
Associated Types
type NodeRef: NodeRef<NodeId = Self::NodeId, Weight = Self::NodeWeight>
[src]
type NodeReferences: Iterator<Item = Self::NodeRef>
[src]
Required methods
fn node_references(self) -> Self::NodeReferences
[src]
Implementations on Foreign Types
impl<'a, G> IntoNodeReferences for &'a G where
G: IntoNodeReferences,
[src]
impl<'a, G> IntoNodeReferences for &'a G where
G: IntoNodeReferences,
[src]type NodeRef = G::NodeRef
type NodeReferences = G::NodeReferences
fn node_references(self) -> Self::NodeReferences
[src]
Implementors
impl<'a, 'b, G> IntoNodeReferences for &'b Frozen<'a, G> where
G: IntoNodeReferences,
[src]
impl<'a, 'b, G> IntoNodeReferences for &'b Frozen<'a, G> where
G: IntoNodeReferences,
[src]type NodeRef = G::NodeRef
type NodeReferences = G::NodeReferences
fn node_references(self) -> Self::NodeReferences
[src]
impl<'a, G, F> IntoNodeReferences for &'a EdgeFiltered<G, F> where
G: IntoNodeReferences,
[src]
impl<'a, G, F> IntoNodeReferences for &'a EdgeFiltered<G, F> where
G: IntoNodeReferences,
[src]type NodeRef = G::NodeRef
type NodeReferences = G::NodeReferences
fn node_references(self) -> Self::NodeReferences
[src]
impl<'a, G, F> IntoNodeReferences for &'a NodeFiltered<G, F> where
G: IntoNodeReferences,
F: FilterNode<G::NodeId>,
[src]
impl<'a, G, F> IntoNodeReferences for &'a NodeFiltered<G, F> where
G: IntoNodeReferences,
F: FilterNode<G::NodeId>,
[src]type NodeRef = G::NodeRef
type NodeReferences = NodeFilteredNodes<'a, G::NodeReferences, F>
fn node_references(self) -> Self::NodeReferences
[src]
impl<'a, N, E, Ty> IntoNodeReferences for &'a GraphMap<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType,
[src]
impl<'a, N, E, Ty> IntoNodeReferences for &'a GraphMap<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType,
[src]type NodeRef = (N, &'a N)
type NodeReferences = NodeReferences<'a, N, E, Ty>
fn node_references(self) -> Self::NodeReferences
[src]
impl<'a, N, E, Ty, Ix> IntoNodeReferences for &'a Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<'a, N, E, Ty, Ix> IntoNodeReferences for &'a Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]type NodeRef = (NodeIndex<Ix>, &'a N)
type NodeReferences = NodeReferences<'a, N, Ix>
fn node_references(self) -> Self::NodeReferences
[src]
impl<'a, N, E, Ty, Ix> IntoNodeReferences for &'a StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]
impl<'a, N, E, Ty, Ix> IntoNodeReferences for &'a StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,
[src]type NodeRef = (NodeIndex<Ix>, &'a N)
type NodeReferences = NodeReferences<'a, N, Ix>
fn node_references(self) -> Self::NodeReferences
[src]
impl<'a, N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> IntoNodeReferences for &'a MatrixGraph<N, E, Ty, Null, Ix>
[src]
impl<'a, N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> IntoNodeReferences for &'a MatrixGraph<N, E, Ty, Null, Ix>
[src]type NodeRef = (NodeIndex<Ix>, &'a N)
type NodeReferences = NodeReferences<'a, N, Ix>
fn node_references(self) -> Self::NodeReferences
[src]
impl<G> IntoNodeReferences for Reversed<G> where
G: IntoNodeReferences,
[src]
impl<G> IntoNodeReferences for Reversed<G> where
G: IntoNodeReferences,
[src]