pub trait FromValue {
fn from_value(value: Value) -> Result<Self, &'static str>
where
Self: Sized;
}
Expand description
Conversion to Rust values from Javascript values
pub trait FromValue {
fn from_value(value: Value) -> Result<Self, &'static str>
where
Self: Sized;
}
Conversion to Rust values from Javascript values