RuntimeGetter

Trait RuntimeGetter 

Source
pub trait RuntimeGetter<__Context__>: IsProviderFor<RuntimeGetterComponent, __Context__, ()>
where __Context__: HasRuntimeType,
{ // Required method fn runtime(__context__: &__Context__) -> &__Context__::Runtime; }

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl<__Context__> RuntimeGetter<__Context__> for UseContext
where __Context__: HasRuntimeType + HasRuntime,

Source§

fn runtime(__context__: &__Context__) -> &__Context__::Runtime

Source§

impl<__Context__> RuntimeGetter<__Context__> for UseFields
where __Context__: HasRuntimeType + HasField<ψ<7, ζ<'r', ζ<'u', ζ<'n', ζ<'t', ζ<'i', ζ<'m', ζ<'e', ε>>>>>>>>, Value = __Context__::Runtime>,

Source§

fn runtime(context: &__Context__) -> &__Context__::Runtime

Source§

impl<__Context__, __Provider__> RuntimeGetter<__Context__> for WithProvider<__Provider__>
where __Context__: HasRuntimeType, __Provider__: FieldGetter<__Context__, RuntimeGetterComponent, Value = __Context__::Runtime>,

Source§

fn runtime(context: &__Context__) -> &__Context__::Runtime

Source§

impl<__Context__, __Tag__> RuntimeGetter<__Context__> for UseField<__Tag__>
where __Context__: HasRuntimeType + HasField<__Tag__, Value = __Context__::Runtime>,

Source§

fn runtime(context: &__Context__) -> &__Context__::Runtime

Implementors§

Source§

impl<__Component__, __Context__> RuntimeGetter<__Context__> for __Component__
where __Context__: HasRuntimeType, __Component__: DelegateComponent<RuntimeGetterComponent> + IsProviderFor<RuntimeGetterComponent, __Context__, ()>, __Component__::Delegate: RuntimeGetter<__Context__>,