MCPcopy Create free account
hub / github.com/AryanpurTech/BlueEngine / ObjectStorage

Class ObjectStorage

crates/blue_engine_core/src/objects/mod.rs:102–102  ·  view source on GitHub ↗

A unified way to handle objects This is a container for objects that is used to apply different operations on the objects at the same time. It can deref to the object hashmap itself when needed.

Source from the content-addressed store, hash-verified

100/// This is a container for objects that is used to apply different operations on the objects at the same time.
101/// It can deref to the object hashmap itself when needed.
102pub struct ObjectStorage(std::collections::HashMap<Arc<str>, Object>);
103impl ObjectStorage {
104 /// Creates a new object storage
105 pub fn new() -> Self {

Callers 1

newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected