pub trait Action:
Debug
+ Clone
+ 'static {
// Required method
fn label(&self) -> &'static str;
}Expand description
Marker trait for an action space element.
Actions are the choices available to the decision-maker. Each action has a static label for evidence logging.
Required Methods§
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.