Struct keeshond_datapack::DataMultistore [−][src]
pub struct DataMultistore { /* fields omitted */ }
Expand description
Storage that allows lookup and access of DataObjects of multiple types by wrapping multiple DataStores.
Implementations
Constructs a new DataMultistore that gets its Sources from the given SourceManager
Informs the DataMultistore of a new DataObject to manage a DataStore for. Returns true if successful.
Returns a reference to the DataStore of the given type. Panics if it cannot be retrieved.
Returns a mutable reference to the DataStore of the given type. Panics if it cannot be retrieved.
Returns a reference to the DataStore of the given type. Returns None if it cannot be retrieved.
Returns a mutable reference to the DataStore of the given type. Returns None if it cannot be retrieved.