Trait petgraph::visit::IntoEdges [−][src]
pub trait IntoEdges: IntoEdgeReferences + IntoNeighbors { type Edges: Iterator<Item = Self::EdgeRef>; fn edges(self, a: Self::NodeId) -> Self::Edges; }
Expand description
Access to the edges of each node.
The edges are, depending on the graph’s edge type:
Directed: All edges froma.Undirected: All edges connected toa.
This is an extended version of the trait IntoNeighbors; the former
only iterates over the target node identifiers, while this trait
yields edge references (trait EdgeRef).
Associated Types
Required methods
Implementations on Foreign Types
impl<'a, G> IntoEdges for &'a G where
G: IntoEdges, [src]
impl<'a, G> IntoEdges for &'a G where
G: IntoEdges, [src]Implementors
impl<'a, G, F> IntoEdges for &'a EdgeFiltered<G, F> where
G: IntoEdges,
F: FilterEdge<G::EdgeRef>, [src]
impl<'a, G, F> IntoEdges for &'a EdgeFiltered<G, F> where
G: IntoEdges,
F: FilterEdge<G::EdgeRef>, [src]impl<'a, G, F> IntoEdges for &'a NodeFiltered<G, F> where
G: IntoEdges,
F: FilterNode<G::NodeId>, [src]
impl<'a, G, F> IntoEdges for &'a NodeFiltered<G, F> where
G: IntoEdges,
F: FilterNode<G::NodeId>, [src]impl<'a, N, E, Ty, Ix> IntoEdges for &'a Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType, [src]
impl<'a, N, E, Ty, Ix> IntoEdges for &'a Graph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType, [src]impl<'a, N, E, Ty, Ix> IntoEdges for &'a StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType, [src]
impl<'a, N, E, Ty, Ix> IntoEdges for &'a StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType, [src]impl<'a, N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> IntoEdges for &'a MatrixGraph<N, E, Ty, Null, Ix>[src]
impl<'a, N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> IntoEdges for &'a MatrixGraph<N, E, Ty, Null, Ix>[src]impl<'a, N: 'a, E: 'a, Ty> IntoEdges for &'a GraphMap<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType, [src]
impl<'a, N: 'a, E: 'a, Ty> IntoEdges for &'a GraphMap<N, E, Ty> where
N: NodeTrait,
Ty: EdgeType, [src]impl<G> IntoEdges for Reversed<G> where
G: IntoEdgesDirected, [src]
impl<G> IntoEdges for Reversed<G> where
G: IntoEdgesDirected, [src]