This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::any::{Any, TypeId}; | |
use std::cell::{Ref, RefCell, RefMut}; | |
use std::collections::HashMap; | |
type ComponentMap = HashMap<TypeId, RefCell<Box<Any>>>; | |
pub trait ComponentSetMutRefs<'a> { | |
type MutRefs; | |
} | |
pub trait ComponentSet { |