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§
Sourcefn collection(id: u32) -> CollectionId
fn collection(id: u32) -> CollectionId
Returns a collection id from a given integer.
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<AssetId, CollectionId, ItemId> BenchmarkHelper<AssetId, CollectionId, ItemId> for ()
Available on crate feature runtime-benchmarks only.
impl<AssetId, CollectionId, ItemId> BenchmarkHelper<AssetId, CollectionId, ItemId> for ()
Available on crate feature
runtime-benchmarks only.