Struct sp_externalities::Extensions [−][src]
pub struct Extensions { /* fields omitted */ }
Expand description
Stores extensions that should be made available through the externalities.
Implementations
Register extension extension
using the given type_id
.
Return a mutable reference to the requested extension.
Deregister extension for the given type_id
.
Returns true
when the extension was registered.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Extensions
impl Send for Extensions
impl !Sync for Extensions
impl Unpin for Extensions
impl !UnwindSafe for Extensions