Trait DirectedOrNot

Source
pub trait DirectedOrNot {
    const DIRECTED_OR_NOT: bool;
}
Expand description

Whether a graph is directed or not.

Required Associated Constants§

Source

const DIRECTED_OR_NOT: bool

When the graph is directed, it is true; otherwise, it is false.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl DirectedOrNot for algograph::graph::directed::AdjacentListGraph

Source§

impl DirectedOrNot for algograph::graph::directed::TreeBackedGraph

Source§

impl DirectedOrNot for algograph::graph::undirected::AdjacentListGraph

Source§

impl DirectedOrNot for algograph::graph::undirected::TreeBackedGraph

Source§

impl<'a, G> DirectedOrNot for SelectedSubgraph<'a, G>
where G: DirectedOrNot,

Source§

const DIRECTED_OR_NOT: bool = G::DIRECTED_OR_NOT

Source§

impl<'a, G> DirectedOrNot for ShadowedSubgraph<'a, G>
where G: DirectedOrNot,

Source§

const DIRECTED_OR_NOT: bool = G::DIRECTED_OR_NOT

Source§

impl<V, E, G> DirectedOrNot for NaiveTaggedGraph<V, E, G>
where V: Hash + Eq + Clone, E: Hash + Eq + Clone, G: DirectedOrNot,

Source§

const DIRECTED_OR_NOT: bool = G::DIRECTED_OR_NOT