Trait cumulus_primitives_core::relay_chain::v5::TypeIndex
pub trait TypeIndex {
// Required method
fn type_index(&self) -> usize;
}
Expand description
Trait required for type specific indices e.g. ValidatorIndex
and GroupIndex
Required Methods§
fn type_index(&self) -> usize
fn type_index(&self) -> usize
Returns the index associated to this value.