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