referrerpolicy=no-referrer-when-downgrade
sp_npos_elections::traits

Trait PerThing128

Source
pub trait PerThing128: PerThing + Mul<ExtendedBalance, Output = ExtendedBalance> { }
Expand description

Aggregator trait for a PerThing that can be multiplied by u128 (ExtendedBalance).

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.

Implementors§

Source§

impl<T: PerThing + Mul<ExtendedBalance, Output = ExtendedBalance>> PerThing128 for T