pub trait WeightInfo {
    // Required methods
    fn set_dummy_benchmark() -> Weight;
    fn accumulate_dummy() -> Weight;
    fn sort_vector(x: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_example_basic.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn sort_vector(x: u32) -> Weight

The range of component x is [0, 10000].

source§

fn set_dummy_benchmark() -> Weight

source§

fn accumulate_dummy() -> Weight

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>