pub trait FromValue: Sized {
// Required method
fn from_value(val: Value) -> Option<Self>;
}
Expand description
Required Methods§
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.
Implementations on Foreign Types§
Source§impl FromValue for bool
This conversion assumes that boolean values are represented by
I32
type.
impl FromValue for bool
This conversion assumes that boolean values are represented by
I32
type.