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 Extensionsimpl Send for Extensionsimpl !Sync for Extensionsimpl Unpin for Extensionsimpl !UnwindSafe for Extensions