pub trait State:
Clone
+ Send
+ Sync
+ 'static {
// Required method
fn merge(&mut self, other: Self);
}Expand description
Trait for graph state. Types implementing this can be used as graph state.
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.