petgraph::visit

Trait 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 G
where 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, Ix> GraphProp for Csr<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

Source§

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

Source§

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

Source§

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

Source§

impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> GraphProp for MatrixGraph<N, E, Ty, Null, Ix>