10 lines
164 B
Rust
10 lines
164 B
Rust
|
use std::{
|
||
|
any::{Any, TypeId},
|
||
|
collections::HashMap,
|
||
|
};
|
||
|
|
||
|
#[derive(Default)]
|
||
|
pub struct Factory {
|
||
|
pub(crate) resources: HashMap<TypeId, Box<dyn Any>>,
|
||
|
}
|