Skip to main content

EpisodeMetricRegistration

Trait EpisodeMetricRegistration 

pub trait EpisodeMetricRegistration<RLC>: Sized
where RLC: RLComponentsTypes,
{ // Required method fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>; }
Expand description

Trait to fake variadic generics for episode metrics.

Required Methods§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

Register the metrics.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl<M1, M2, M3, M4, M5, M6, RLC> EpisodeMetricRegistration<RLC> for (M1, M2, M3, M4, M5, M6)
where RLC: RLComponentsTypes + 'static, EpisodeSummary: Adaptor<<M1 as Metric>::Input> + 'static + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input> + Adaptor<<M4 as Metric>::Input> + Adaptor<<M5 as Metric>::Input> + Adaptor<<M6 as Metric>::Input>, M1: Metric + Numeric + 'static, M2: Metric + Numeric + 'static, M3: Metric + Numeric + 'static, M4: Metric + Numeric + 'static, M5: Metric + Numeric + 'static, M6: Metric + Numeric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, M3, M4, M5, RLC> EpisodeMetricRegistration<RLC> for (M1, M2, M3, M4, M5)
where RLC: RLComponentsTypes + 'static, EpisodeSummary: Adaptor<<M1 as Metric>::Input> + 'static + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input> + Adaptor<<M4 as Metric>::Input> + Adaptor<<M5 as Metric>::Input>, M1: Metric + Numeric + 'static, M2: Metric + Numeric + 'static, M3: Metric + Numeric + 'static, M4: Metric + Numeric + 'static, M5: Metric + Numeric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, M3, M4, RLC> EpisodeMetricRegistration<RLC> for (M1, M2, M3, M4)
where RLC: RLComponentsTypes + 'static, EpisodeSummary: Adaptor<<M1 as Metric>::Input> + 'static + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input> + Adaptor<<M4 as Metric>::Input>, M1: Metric + Numeric + 'static, M2: Metric + Numeric + 'static, M3: Metric + Numeric + 'static, M4: Metric + Numeric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, M3, RLC> EpisodeMetricRegistration<RLC> for (M1, M2, M3)
where RLC: RLComponentsTypes + 'static, EpisodeSummary: Adaptor<<M1 as Metric>::Input> + 'static + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input>, M1: Metric + Numeric + 'static, M2: Metric + Numeric + 'static, M3: Metric + Numeric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, RLC> EpisodeMetricRegistration<RLC> for (M1, M2)
where RLC: RLComponentsTypes + 'static, EpisodeSummary: Adaptor<<M1 as Metric>::Input> + 'static + Adaptor<<M2 as Metric>::Input>, M1: Metric + Numeric + 'static, M2: Metric + Numeric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, RLC> EpisodeMetricRegistration<RLC> for (M1,)
where RLC: RLComponentsTypes + 'static, EpisodeSummary: Adaptor<<M1 as Metric>::Input> + 'static, M1: Metric + Numeric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

Implementors§