geometric-traits 0.2.2

Trait-based algebraic and graph algorithms for Rust, supporting no_std environments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Submodule defining the properties of a directed graph.

use super::Edges;

/// Trait defining the properties of the directed edges of a graph.
pub trait DirectedEdges: Edges {}

impl<E: Edges> DirectedEdges for E {}

/// Trait defining the properties of a directed graph.
pub trait DirectedGraph: super::Graph {}

impl<G> DirectedGraph for G where G: super::Graph {}