[][src]Struct rs_graph::filtered::FilteredGraph

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]

type OutEdge = Filtered<G::OutEdge>

Type of a graph iterator over edges leaving a node.

type InEdge = Filtered<G::InEdge>

Type of a graph iterator over edges entering a node.

type IncidentEdge = Filtered<G::IncidentEdge>

Type of an iterator over all incident edges.

type DirectedEdge = G::DirectedEdge

Type of a directed edge.

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 NodeIter = G::NodeIter

Type of an iterator over all nodes.

type EdgeIter = Filter<G::EdgeIter, &'a P>

Type of an iterator over all edges.

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]

type Node = G::Node

Type of a node.

type Edge = G::Edge

Type of an edge.

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 Neigh = Filtered<G::Neigh>

Type of a graph iterator over all incident edges.

Auto Trait Implementations

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> 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> UnwindSafe for FilteredGraph<'a, G, P> where
    G: RefUnwindSafe,
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, G> Digraph<'a> for G where
    G: GraphSize<'a> + Directed<'a>, 
[src]

impl<T> From<T> for T[src]

impl<'a, G> Graph<'a> for G where
    G: GraphSize<'a> + Undirected<'a>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, G> NumberedDigraph<'a> for G where
    G: Digraph<'a> + NumberedGraph<'a>,
    <G as GraphType<'a>>::Node: Indexable,
    <G as GraphType<'a>>::Edge: Indexable
[src]

impl<'a, G> NumberedGraph<'a> for G where
    G: Graph<'a>,
    <G as GraphType<'a>>::Node: Indexable,
    <G as GraphType<'a>>::Edge: Indexable
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.