Trait petgraph::visit::IntoNodeIdentifiers

source ·
pub trait IntoNodeIdentifiers: GraphRef {
    type NodeIdentifiers: Iterator<Item = Self::NodeId>;

    // Required method
    fn node_identifiers(self) -> Self::NodeIdentifiers;
}
Expand description

Access to the sequence of the graph’s NodeIds.

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, G> IntoNodeIdentifiers for &'a G

Implementors§

source§

impl<'a, 'b, G> IntoNodeIdentifiers for &'b Frozen<'a, G>

source§

impl<'a, E, Ix: IndexType> IntoNodeIdentifiers for &'a List<E, Ix>

source§

impl<'a, G, F> IntoNodeIdentifiers for &'a EdgeFiltered<G, F>

source§

impl<'a, G, F> IntoNodeIdentifiers for &'a NodeFiltered<G, F>

source§

impl<'a, N, E, Ty, Ix> IntoNodeIdentifiers for &'a Csr<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

source§

impl<'a, N, E: 'a, Ty, Ix> IntoNodeIdentifiers for &'a Graph<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

source§

impl<'a, N, E: 'a, Ty, Ix> IntoNodeIdentifiers for &'a StableGraph<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

source§

impl<'a, N, E: 'a, Ty, S> IntoNodeIdentifiers for &'a GraphMap<N, E, Ty, S>
where N: NodeTrait, Ty: EdgeType, S: BuildHasher,

source§

impl<'a, N, E: 'a, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> IntoNodeIdentifiers for &'a MatrixGraph<N, E, Ty, Null, Ix>

source§

impl<G> IntoNodeIdentifiers for Reversed<G>