pub trait ToValue {
// Required method
fn to_value(&self) -> Value<'_>;
}Expand description
A type that can be converted into a Value.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".