[][src]Trait sc_chain_spec::GetExtension

pub trait GetExtension {
    fn get_any(&self, t: TypeId) -> &dyn Any;
}

A subset if the Extension trait that only allows for quering extensions.

Required methods

fn get_any(&self, t: TypeId) -> &dyn Any

Get an extension of specific type.

Loading content...

Implementors

impl<E: Extension> GetExtension for E[src]

Loading content...