[][src]Trait frame_support::traits::ModuleToIndex

pub trait ModuleToIndex {
    fn module_to_index<M: 'static>() -> Option<usize>;
}

Something that can convert a given module into the index of the module in the runtime.

The index of a module is determined by the position it appears in construct_runtime!.

Required methods

fn module_to_index<M: 'static>() -> Option<usize>

Convert the given module M into an index.

Loading content...

Implementations on Foreign Types

impl ModuleToIndex for ()[src]

Loading content...

Implementors

Loading content...