pub trait HasItemDatawhere
Self: Sized,{
// Required method
fn get_mem_items() -> &'static ConcreteVec<Self>;
}
Expand description
Trait that abstracts away getting the in-memory items.
Required Methods§
Sourcefn get_mem_items() -> &'static ConcreteVec<Self>
fn get_mem_items() -> &'static ConcreteVec<Self>
Gets the items from the in-memory cache for the given type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.