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]

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.

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]

type Item = I::Item

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]

type Item = I::Item

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

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]

type Item = G::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 NodeIt = FilterWrapIt<G::NodeIt>

Type of an iterator over all nodes.

type EdgeIt = FilterEdgeIt<G::EdgeIt>

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

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<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.