Trait sc_chain_spec::GetExtension [−][src]
pub trait GetExtension { fn get_any(&self, t: TypeId) -> &dyn Any; fn get_any_mut(&mut self, t: TypeId) -> &mut dyn Any; }
Expand description
A subset if the Extension
trait that only allows for quering extensions.
Required methods
fn get_any_mut(&mut self, t: TypeId) -> &mut dyn Any
fn get_any_mut(&mut self, t: TypeId) -> &mut dyn Any
Get an extension of specific type with mutable access.