referrerpolicy=no-referrer-when-downgrade
pallet_uniques::pallet

Trait BenchmarkHelper

Source
pub trait BenchmarkHelper<CollectionId, ItemId> {
    // Required methods
    fn collection(i: u16) -> CollectionId;
    fn item(i: u16) -> ItemId;
}

Required Methods§

Source

fn collection(i: u16) -> CollectionId

Source

fn item(i: u16) -> ItemId

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.

Implementations on Foreign Types§

Source§

impl<CollectionId: From<u16>, ItemId: From<u16>> BenchmarkHelper<CollectionId, ItemId> for ()

Source§

fn collection(i: u16) -> CollectionId

Source§

fn item(i: u16) -> ItemId

Implementors§