pub trait ContainsMap {
// Required method
fn get_map(&self) -> &Map<dyn CloneAny + Send>;
}Expand description
A state that exposes an anymap by shared reference.
Data is taken out by cloning (CloneAny), so it is only suitable for small,
read-only values such as configuration.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".