gamma 0.5.0

Graph primitives and traversals for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Eq,PartialEq, Hash, Debug)]
pub struct Step<N> {
    pub source: N,
    pub target: N,
    pub cut: bool
}

impl<N> Step<N> {
    pub fn new(source: N, target: N, cut: bool) -> Self {
        Step { source, target, cut }
    }
}