mirror of
https://github.com/guilhermewerner/reflection
synced 2025-06-15 13:14:19 +00:00
12 lines
193 B
Rust
12 lines
193 B
Rust
use std::any::TypeId;
|
|
use std::collections::HashMap;
|
|
|
|
#[derive(Default)]
|
|
pub struct TypeRegistry {
|
|
types: HashMap<TypeId, ()>,
|
|
}
|
|
|
|
impl TypeRegistry {
|
|
pub fn Register<T>(&mut self) {}
|
|
}
|