pub trait ToDynamic {
// Required method
fn to_dynamic(&self) -> Value;
}Expand description
The ToDynamic trait allows a type to emit a representation of itself as the Value type. This trait can be derived.
Required Methods§
fn to_dynamic(&self) -> Value
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".