referrerpolicy=no-referrer-when-downgrade
frame_election_provider_support::weights

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn phragmen(v: u32, t: u32, d: u32) -> Weight;
    fn phragmms(v: u32, t: u32, d: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_election_provider_support_benchmarking.

Required Methods§

Source

fn phragmen(v: u32, t: u32, d: u32) -> Weight

Source

fn phragmms(v: u32, t: u32, d: u32) -> Weight

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 WeightInfo for ()

Source§

fn phragmen(v: u32, t: u32, d: u32) -> Weight

Source§

fn phragmms(v: u32, t: u32, d: u32) -> Weight

Implementors§

Source§

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