[][src]Trait sc_chain_spec::GetExtension

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

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

Required methods

pub fn get_any(&self, t: TypeId) -> &dyn Any[src]

Get an extension of specific type.

Loading content...

Implementors

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

Loading content...