ircie/src/factory.rs

10 lines
164 B
Rust
Raw Normal View History

2023-05-29 14:11:41 +00:00
use std::{
any::{Any, TypeId},
collections::HashMap,
};
#[derive(Default)]
pub struct Factory {
pub(crate) resources: HashMap<TypeId, Box<dyn Any>>,
}