pub trait LogData:
Clone
+ Debug
+ Default {
// Required methods
fn merge(&mut self, other: &Self);
fn clear(&mut self);
fn episode_count(&self) -> f32;
}Expand description
Log data that environments can return for tracking metrics.
Required Methods§
Sourcefn episode_count(&self) -> f32
fn episode_count(&self) -> f32
Get the number of episodes recorded.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".