natom/
atom.rs

1use std::any::TypeId;
2
3
4#[derive(Hash, PartialEq, Eq, Clone, Debug)]
5pub enum AtomType {
6    Initial,
7    Singleton,
8    Dependent,
9}
10
11#[derive(Hash, PartialEq, Eq, Clone, Debug)]
12pub struct AtomMeta {
13    pub type_id: TypeId,
14    pub atom_type: AtomType,
15    pub depends_on: Vec<TypeId>,
16}