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§
type NodeIdentifiers: Iterator<Item = Self::NodeId>
Required Methods§
fn node_identifiers(self) -> Self::NodeIdentifiers
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<'a, G> IntoNodeIdentifiers for &'a Gwhere
G: IntoNodeIdentifiers,
impl<'a, G> IntoNodeIdentifiers for &'a Gwhere
G: IntoNodeIdentifiers,
type NodeIdentifiers = <G as IntoNodeIdentifiers>::NodeIdentifiers
fn node_identifiers(self) -> Self::NodeIdentifiers
Implementors§
Source§impl<'a, 'b, G> IntoNodeIdentifiers for &'b Frozen<'a, G>where
G: IntoNodeIdentifiers,
impl<'a, 'b, G> IntoNodeIdentifiers for &'b Frozen<'a, G>where
G: IntoNodeIdentifiers,
type NodeIdentifiers = <G as IntoNodeIdentifiers>::NodeIdentifiers
Source§impl<'a, G, F> IntoNodeIdentifiers for &'a EdgeFiltered<G, F>where
G: IntoNodeIdentifiers,
impl<'a, G, F> IntoNodeIdentifiers for &'a EdgeFiltered<G, F>where
G: IntoNodeIdentifiers,
type NodeIdentifiers = <G as IntoNodeIdentifiers>::NodeIdentifiers
Source§impl<'a, G, F> IntoNodeIdentifiers for &'a NodeFiltered<G, F>
impl<'a, G, F> IntoNodeIdentifiers for &'a NodeFiltered<G, F>
type NodeIdentifiers = NodeFilteredNeighbors<'a, <G as IntoNodeIdentifiers>::NodeIdentifiers, F>
Source§impl<'a, N, E, Ty, Ix> IntoNodeIdentifiers for &'a Csr<N, E, Ty, Ix>
impl<'a, N, E, Ty, Ix> IntoNodeIdentifiers for &'a Csr<N, E, Ty, Ix>
type NodeIdentifiers = NodeIdentifiers<Ix>
Source§impl<'a, N, E: 'a, Ty> IntoNodeIdentifiers for &'a GraphMap<N, E, Ty>
impl<'a, N, E: 'a, Ty> IntoNodeIdentifiers for &'a GraphMap<N, E, Ty>
type NodeIdentifiers = NodeIdentifiers<'a, N, E, Ty>
Source§impl<'a, N, E: 'a, Ty, Ix> IntoNodeIdentifiers for &'a Graph<N, E, Ty, Ix>
impl<'a, N, E: 'a, Ty, Ix> IntoNodeIdentifiers for &'a Graph<N, E, Ty, Ix>
type NodeIdentifiers = NodeIndices<Ix>
Source§impl<'a, N, E: 'a, Ty, Ix> IntoNodeIdentifiers for &'a StableGraph<N, E, Ty, Ix>
Available on crate feature stable_graph only.
impl<'a, N, E: 'a, Ty, Ix> IntoNodeIdentifiers for &'a StableGraph<N, E, Ty, Ix>
Available on crate feature
stable_graph only.