Skip to main content

HasItemData

Trait HasItemData 

Source
pub trait HasItemData
where Self: Sized,
{ // Required method fn get_mem_items() -> &'static ConcreteVec<Self>; }
Expand description

Trait that abstracts away getting the in-memory items.

Required Methods§

Source

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".

Implementors§