Struct sp_externalities::Extensions
source · [−]pub struct Extensions { /* private fields */ }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