referrerpolicy=no-referrer-when-downgrade

Type Alias ListBags

Source
pub type ListBags<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageListBags<T, I>, Twox64Concat, T::Score, Bag<T, I>>;
Expand description

A bag stored in storage.

Stores a Bag struct, which stores head and tail pointers to itself.

Storage type is [StorageMap] with key type T :: Score and value type list :: Bag < T, I >.

Aliased Type§

struct ListBags<T: Config<I>, I: 'static = ()>(/* private fields */);