feat: functions with formal parameters

This commit is contained in:
2025-05-04 15:21:44 +08:00
parent bc50464db9
commit eea4a4ce9f
6 changed files with 53 additions and 10 deletions

View File

@@ -43,9 +43,13 @@ impl AttrSet {
self
}
pub fn to_data(self) -> HashTrieMapSync<Symbol, Value> {
pub fn into_inner(self) -> HashTrieMapSync<Symbol, Value> {
self.data
}
pub fn as_inner(&self) -> &HashTrieMapSync<Symbol, Value> {
&self.data
}
}
impl ToPublic for AttrSet {