Skip to main content

EpisodeTextMetricRegistration

Trait EpisodeTextMetricRegistration 

Source
pub trait EpisodeTextMetricRegistration<RLC: RLComponentsTypes>: Sized {
    // Required method
    fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>;
}
Available on crate feature rl only.
Expand description

Trait to fake variadic generics for episode text metrics.

Required Methods§

Source

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", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§