pub trait FromValueRef<'a, T> {
// Required method
fn from_value_ref(value: &ValueRef<'a, T>) -> Self;
}
Expand description
Type that can extract from ValueRef
.
Required Methods§
Sourcefn from_value_ref(value: &ValueRef<'a, T>) -> Self
fn from_value_ref(value: &ValueRef<'a, T>) -> Self
Extrace from ValueRef
.
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.