pub trait BenchmarkHelper<AssetId, CollectionId, ItemId> {
    // Required methods
    fn asset(id: u32) -> AssetId;
    fn collection(id: u32) -> CollectionId;
    fn nft(id: u32) -> ItemId;
}
Expand description

Benchmark Helper

Required Methods§

source

fn asset(id: u32) -> AssetId

Returns an asset id from a given integer.

source

fn collection(id: u32) -> CollectionId

Returns a collection id from a given integer.

source

fn nft(id: u32) -> ItemId

Returns an nft id from a given integer.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<AssetId, CollectionId, ItemId> BenchmarkHelper<AssetId, CollectionId, ItemId> for ()
where AssetId: From<u32>, CollectionId: From<u32>, ItemId: From<u32>,

source§

fn asset(id: u32) -> AssetId

source§

fn collection(id: u32) -> CollectionId

source§

fn nft(id: u32) -> ItemId

Implementors§