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§
Sourcefn type_index(&self) -> usize
fn type_index(&self) -> usize
Returns the index associated to this value.