Trait petgraph::visit::GraphProp

source ·
pub trait GraphProp: GraphBase {
    type EdgeType: EdgeType;

    // Provided method
    fn is_directed(&self) -> bool { ... }
}
Expand description

Edge kind property (directed or undirected edges)

Required Associated Types§

source

type EdgeType: EdgeType

The kind edges in the graph.

Provided Methods§

source

fn is_directed(&self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, G> GraphProp for &'a G
where G: GraphProp,

Implementors§

source§

impl<'a, G> GraphProp for Frozen<'a, G>
where G: GraphProp,

source§

impl<G> GraphProp for Reversed<G>
where G: GraphProp,

source§

impl<G, F> GraphProp for EdgeFiltered<G, F>
where G: GraphProp,

source§

impl<G, F> GraphProp for NodeFiltered<G, F>
where G: GraphProp,

source§

impl<N, E, Ty> GraphProp for GraphMap<N, E, Ty>
where N: NodeTrait, Ty: EdgeType,

§

type EdgeType = Ty

source§

impl<N, E, Ty, Ix> GraphProp for Csr<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

§

type EdgeType = Ty

source§

impl<N, E, Ty, Ix> GraphProp for StableGraph<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

§

type EdgeType = Ty

source§

impl<N, E, Ty, Ix> GraphProp for Graph<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

§

type EdgeType = Ty