mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 14:13:52 +01:00
make object fields trait public
This commit is contained in:
parent
6c43c604b8
commit
ab55ce9bf1
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "mers_lib"
|
name = "mers_lib"
|
||||||
version = "0.9.5"
|
version = "0.9.6"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
description = "library to use the mers language in other projects"
|
description = "library to use the mers language in other projects"
|
||||||
|
@ -174,7 +174,7 @@ impl ObjectT {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) trait ObjectFieldsMap {
|
pub trait ObjectFieldsMap {
|
||||||
fn get_or_add_field(&self, field: &str) -> usize;
|
fn get_or_add_field(&self, field: &str) -> usize;
|
||||||
}
|
}
|
||||||
impl ObjectFieldsMap for Arc<Mutex<HashMap<String, usize>>> {
|
impl ObjectFieldsMap for Arc<Mutex<HashMap<String, usize>>> {
|
||||||
|
Loading…
Reference in New Issue
Block a user