pub trait RuntimeGetter<__Context__>: IsProviderFor<RuntimeGetterComponent, __Context__, ()>where
__Context__: HasRuntimeType,{
// Required method
fn runtime(
__context__: &__Context__,
) -> &<__Context__ as HasRuntimeType>::Runtime;
}Required Methods§
fn runtime( __context__: &__Context__, ) -> &<__Context__ as HasRuntimeType>::Runtime
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".