Struct rs_graph::filtered::FilteredGraph [−][src]
pub struct FilteredGraph<'a, G, P> where
G: GraphType<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool, { /* fields omitted */ }Trait Implementations
impl<'a, G, P> Directed<'a> for FilteredGraph<'a, G, P> where
G: Directed<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]
impl<'a, G, P> Directed<'a> for FilteredGraph<'a, G, P> where
G: Directed<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]type OutIt = Filtered<G::OutIt>
Type of a graph iterator over edges leaving a node.
type InIt = Filtered<G::InIt>
Type of a graph iterator over edges entering a node.
type IncidentIt = FilteredIncidentIt<G::IncidentIt>
Type of an iterator over all incident edges.
type DirectedEdge = G::DirectedEdge
Type of a directed edge.
fn src(&'a self, e: Self::Edge) -> Self::Node[src]
fn snk(&'a self, e: Self::Edge) -> Self::Node[src]
fn out_iter(&'a self, u: Self::Node) -> Self::OutIt[src]
fn in_iter(&'a self, u: Self::Node) -> Self::InIt[src]
fn incident_iter(&'a self, u: Self::Node) -> Self::IncidentIt[src]
fn outedges(&'a self, u: Self::Node) -> GraphIter<'a, Self, Self::OutIt>ⓘ where
Self: Sized, [src]
Self: Sized,
fn outgoing(&'a self) -> OutEdges<'a, Self> where
Self: Sized, [src]
Self: Sized,
fn inedges(&'a self, u: Self::Node) -> GraphIter<'a, Self, Self::InIt>ⓘ where
Self: Sized, [src]
Self: Sized,
fn incoming(&'a self) -> InEdges<'a, Self> where
Self: Sized, [src]
Self: Sized,
fn incident_edges(
&'a self,
u: Self::Node
) -> GraphIter<'a, Self, Self::IncidentIt>ⓘ where
Self: Sized, [src]
&'a self,
u: Self::Node
) -> GraphIter<'a, Self, Self::IncidentIt>ⓘ where
Self: Sized,
impl<'a, G, P, I> GraphIterator<FilteredGraph<'a, G, P>> for Filtered<I> where
G: GraphType<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool,
I: GraphIterator<G, Item = (G::Edge, G::Node)>, [src]
impl<'a, G, P, I> GraphIterator<FilteredGraph<'a, G, P>> for Filtered<I> where
G: GraphType<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool,
I: GraphIterator<G, Item = (G::Edge, G::Node)>, [src]impl<'a, G, P, I> GraphIterator<FilteredGraph<'a, G, P>> for FilteredIncidentIt<I> where
G: Directed<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool,
I: GraphIterator<G, Item = (G::DirectedEdge, G::Node)>, [src]
impl<'a, G, P, I> GraphIterator<FilteredGraph<'a, G, P>> for FilteredIncidentIt<I> where
G: Directed<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool,
I: GraphIterator<G, Item = (G::DirectedEdge, G::Node)>, [src]impl<'a, G, P, I> GraphIterator<FilteredGraph<'a, G, P>> for FilterWrapIt<I> where
G: GraphType<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool,
I: GraphIterator<G>, [src]
impl<'a, G, P, I> GraphIterator<FilteredGraph<'a, G, P>> for FilterWrapIt<I> where
G: GraphType<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool,
I: GraphIterator<G>, [src]type Item = I::Item
fn next(&mut self, g: &FilteredGraph<'a, G, P>) -> Option<I::Item>[src]
fn size_hint(&self, g: &FilteredGraph<'a, G, P>) -> (usize, Option<usize>)[src]
fn count(self, g: &FilteredGraph<'a, G, P>) -> usize[src]
fn iter<'a>(self, g: &'a G) -> GraphIter<'a, G, Self>ⓘ where
G: Sized, [src]
G: Sized,
impl<'a, G, P> GraphIterator<FilteredGraph<'a, G, P>> for FilterEdgeIt<G::EdgeIt> where
G: GraphSize<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool, [src]
impl<'a, G, P> GraphIterator<FilteredGraph<'a, G, P>> for FilterEdgeIt<G::EdgeIt> where
G: GraphSize<'a>,
P: for<'r> Fn(&'r G::Edge) -> bool, [src]impl<'a, G, P> GraphSize<'a> for FilteredGraph<'a, G, P> where
G: GraphSize<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]
impl<'a, G, P> GraphSize<'a> for FilteredGraph<'a, G, P> where
G: GraphSize<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]type NodeIt = FilterWrapIt<G::NodeIt>
Type of an iterator over all nodes.
type EdgeIt = FilterEdgeIt<G::EdgeIt>
Type of an iterator over all edges.
fn num_nodes(&self) -> usize[src]
fn num_edges(&self) -> usize[src]
fn nodes_iter(&'a self) -> Self::NodeIt[src]
fn edges_iter(&self) -> Self::EdgeIt[src]
fn nodes(&'a self) -> NodeIterator<'a, Self> where
Self: Sized, [src]
Self: Sized,
fn edges(&'a self) -> EdgeIterator<'a, Self> where
Self: Sized, [src]
Self: Sized,
impl<'a, G, P> GraphType<'a> for FilteredGraph<'a, G, P> where
G: GraphType<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]
impl<'a, G, P> GraphType<'a> for FilteredGraph<'a, G, P> where
G: GraphType<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]impl<'a, G, P> Undirected<'a> for FilteredGraph<'a, G, P> where
G: Undirected<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]
impl<'a, G, P> Undirected<'a> for FilteredGraph<'a, G, P> where
G: Undirected<'a>,
P: 'a + for<'r> Fn(&'r G::Edge) -> bool, [src]type NeighIt = Filtered<G::NeighIt>
Type of a graph iterator over all incident edges.
fn enodes(&'a self, e: Self::Edge) -> (Self::Node, Self::Node)[src]
fn neigh_iter(&'a self, u: Self::Node) -> Self::NeighIt[src]
fn neighs(&'a self, u: Self::Node) -> GraphIter<'a, Self, Self::NeighIt>ⓘ where
Self: Sized, [src]
Self: Sized,
fn neighbors(&'a self) -> Neighbors<'a, Self> where
Self: Sized, [src]
Self: Sized,
Auto Trait Implementations
impl<'a, G, P> RefUnwindSafe for FilteredGraph<'a, G, P> where
G: RefUnwindSafe,
P: RefUnwindSafe,
impl<'a, G, P> RefUnwindSafe for FilteredGraph<'a, G, P> where
G: RefUnwindSafe,
P: RefUnwindSafe, impl<'a, G, P> Send for FilteredGraph<'a, G, P> where
G: Sync,
P: Send,
impl<'a, G, P> Send for FilteredGraph<'a, G, P> where
G: Sync,
P: Send, impl<'a, G, P> Sync for FilteredGraph<'a, G, P> where
G: Sync,
P: Sync,
impl<'a, G, P> Sync for FilteredGraph<'a, G, P> where
G: Sync,
P: Sync, impl<'a, G, P> Unpin for FilteredGraph<'a, G, P> where
P: Unpin,
impl<'a, G, P> Unpin for FilteredGraph<'a, G, P> where
P: Unpin, impl<'a, G, P> UnwindSafe for FilteredGraph<'a, G, P> where
G: RefUnwindSafe,
P: UnwindSafe,
impl<'a, G, P> UnwindSafe for FilteredGraph<'a, G, P> where
G: RefUnwindSafe,
P: UnwindSafe,