Trait kilt_support::traits::GetWorstCase
source · pub trait GetWorstCase<Context = ()> {
type Output;
// Required method
fn worst_case(context: Context) -> Self::Output;
}
Expand description
Trait that allows types to implement a worst case value for a type, only when running benchmarks.