Skip to main content

State

Trait State 

Source
pub trait State:
    Debug
    + Clone
    + 'static { }
Expand description

Marker trait for a state space element.

States represent the unknown ground truth that the decision-maker reasons about. Examples: change rate (f64), resize regime (Steady/Burst), frame cost bucket (enum).

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.

Implementors§