pub trait Info { }
Expand description
Additional information that can be associated with environment steps.
This trait is used to define custom information types that can be attached to environment steps. It is typically implemented for types that provide extra context about the environment’s state or the agent’s actions.
§Examples
ⓘ
#[derive(Debug)]
struct CustomInfo {
velocity: f32,
position: (f32, f32),
}
impl Info for CustomInfo {}