Struct petgraph::visit::NodeFiltered [−][src]
pub struct NodeFiltered<G, F>(pub G, pub F);
Expand description
A node-filtering graph adaptor.
Tuple Fields
0: G
1: F
Implementations
Trait Implementations
type NodeWeight = G::NodeWeight
type EdgeWeight = G::EdgeWeight
Return an upper bound of the edge indices in the graph (suitable for the size of a bitmap). Read more
Convert i
to an edge index. i
must be a valid value in the graph.
impl<'a, G, F> IntoEdgeReferences for &'a NodeFiltered<G, F> where
G: IntoEdgeReferences,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoEdgeReferences for &'a NodeFiltered<G, F> where
G: IntoEdgeReferences,
F: FilterNode<G::NodeId>,
type EdgeReferences = NodeFilteredEdgeReferences<'a, G, G::EdgeReferences, F>
impl<'a, G, F> IntoEdges for &'a NodeFiltered<G, F> where
G: IntoEdges,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoEdges for &'a NodeFiltered<G, F> where
G: IntoEdges,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoEdgesDirected for &'a NodeFiltered<G, F> where
G: IntoEdgesDirected,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoEdgesDirected for &'a NodeFiltered<G, F> where
G: IntoEdgesDirected,
F: FilterNode<G::NodeId>,
type EdgesDirected = NodeFilteredEdges<'a, G, G::EdgesDirected, F>
impl<'a, G, F> IntoNeighbors for &'a NodeFiltered<G, F> where
G: IntoNeighbors,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoNeighbors for &'a NodeFiltered<G, F> where
G: IntoNeighbors,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoNeighborsDirected for &'a NodeFiltered<G, F> where
G: IntoNeighborsDirected,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoNeighborsDirected for &'a NodeFiltered<G, F> where
G: IntoNeighborsDirected,
F: FilterNode<G::NodeId>,
type NeighborsDirected = NodeFilteredNeighbors<'a, G::NeighborsDirected, F>
impl<'a, G, F> IntoNodeIdentifiers for &'a NodeFiltered<G, F> where
G: IntoNodeIdentifiers,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoNodeIdentifiers for &'a NodeFiltered<G, F> where
G: IntoNodeIdentifiers,
F: FilterNode<G::NodeId>,
type NodeIdentifiers = NodeFilteredNeighbors<'a, G::NodeIdentifiers, F>
impl<'a, G, F> IntoNodeReferences for &'a NodeFiltered<G, F> where
G: IntoNodeReferences,
F: FilterNode<G::NodeId>,
impl<'a, G, F> IntoNodeReferences for &'a NodeFiltered<G, F> where
G: IntoNodeReferences,
F: FilterNode<G::NodeId>,
type NodeReferences = NodeFilteredNodes<'a, G::NodeReferences, F>
Return an upper bound of the node indices in the graph (suitable for the size of a bitmap). Read more
Convert i
to a node index. i
must be a valid value in the graph.
Auto Trait Implementations
impl<G, F> RefUnwindSafe for NodeFiltered<G, F> where
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<G, F> Send for NodeFiltered<G, F> where
F: Send,
G: Send,
impl<G, F> Sync for NodeFiltered<G, F> where
F: Sync,
G: Sync,
impl<G, F> Unpin for NodeFiltered<G, F> where
F: Unpin,
G: Unpin,
impl<G, F> UnwindSafe for NodeFiltered<G, F> where
F: UnwindSafe,
G: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more