pub trait FromValue<'a>: FromValueOptional<'a> {
// Required method
unsafe fn from_value(: &'a Value) -> Self;
}
Expand description
Extracts a value.
Only implemented for types that don’t support a None
value.
Required Methods§
unsafe fn from_value(: &'a Value) -> Self
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.