ttgraph 0.5.0

Typed/Transactional Graph container
Documentation
#![allow(dead_code)]

use ttgraph::*;
#[derive(TypedNode, Debug)]
#[phantom_group(def)]
struct OpA {
  x: NodeIndex,
}

node_enum! {
  #[derive(Debug)]
  enum Node{
    OpA(OpA)
  }
}

fn f() {
  discriminant!(crate::Node::OpA);
}