This commit is contained in:
aozhiwei 2022-10-11 23:23:04 +08:00
parent ddfcba0027
commit 8ff8a9b2d3

View File

@ -11,5 +11,20 @@ pub struct MetaClass {
} }
pub struct MetaMgr { pub struct MetaMgr {
meta_classes: Vec<Box<MetaClass>>
}
impl MetaMgr {
pub fn register_meta_class(&mut self) {
let a = MetaClass{
file_name: String::from("hello"),
idx: 1,
prim_key: String::from("key"),
raw_list: Vec::new(),
id_hash: HashMap::new(),
name_hash: HashMap::new()
};
}
} }