core::resource::metadata struct

represents a container of resources and their UID mappings

The resource cache is a specialized container that can handle lifetime and ID mapping of resources. It also controls the memory that the resource will be allocated to. This means that every resource is guaranteed to be part of atleast one cache. Resource can also access other resources within the same cache with ease through the shared psl::meta::library instance. Libraries can be shared between caches, but remember that neither the psl::meta::library nor core::resource::cache_t are thread-safe by themselves.