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 of edges in the graph.

Provided Methods§

source

fn is_directed(&self) -> bool

Implementations on Foreign Types§

source§

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

Implementors§

source§

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

source§

impl<E, Ix: IndexType> GraphProp for List<E, Ix>

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 Graph<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: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> GraphProp for MatrixGraph<N, E, Ty, Null, Ix>

§

type EdgeType = Ty