pub type Ref = Ref<State>;
struct Ref { hash: Hash, state: Arc<State, Global>, }
hash: Hash
state: Arc<State, Global>