mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-26 08:58:42 -06:00
10 lines
258 B
Rust
10 lines
258 B
Rust
|
use hashbrown::{HashMap, HashSet};
|
||
|
use nohash_hasher::BuildNoHashHasher;
|
||
|
use std::any::Any;
|
||
|
|
||
|
#[derive(Default)]
|
||
|
pub struct StateRepo {
|
||
|
state: HashMap<u64, Box<dyn Any>, BuildNoHashHasher<u64>>,
|
||
|
active_ids: HashSet<u64, BuildNoHashHasher<u64>>
|
||
|
}
|