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§

source

fn type_index(&self) -> usize

Returns the index associated to this value.

Implementors§