Trait RuntimeGetter

Source
pub trait RuntimeGetter<App>
where App: HasRuntimeType,
{ // Required method fn runtime(app: &App) -> &App::Runtime; }

Required Methods§

Source

fn runtime(app: &App) -> &App::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<App> RuntimeGetter<App> for UseFields
where App: HasRuntimeType + HasField<Cons<Char<'r'>, Cons<Char<'u'>, Cons<Char<'n'>, Cons<Char<'t'>, Cons<Char<'i'>, Cons<Char<'m'>, Cons<Char<'e'>, Nil>>>>>>>, Value = App::Runtime>,

Source§

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

Source§

impl<App, Provider> RuntimeGetter<App> for WithProvider<Provider>
where App: HasRuntimeType, Provider: FieldGetter<App, RuntimeGetterComponent, Value = App::Runtime>,

Source§

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

Source§

impl<App, Tag> RuntimeGetter<App> for UseField<Tag>
where App: HasRuntimeType + HasField<Tag, Value = App::Runtime>,

Source§

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

Implementors§

Source§

impl<Component, App> RuntimeGetter<App> for Component