pub trait AsState:
Clone
+ Debug
+ Default
+ Display
+ PartialEq { }Expand description
State type needs to implement these traits: Clone, Debug, Default, PartialEq.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".