pub trait StateData {
// Required methods
fn no_data() -> Self;
fn combine(a: Self, b: Self) -> Self;
fn is_final(&self) -> bool;
}Required Methods§
fn no_data() -> Self
fn combine(a: Self, b: Self) -> Self
fn is_final(&self) -> bool
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.