pub trait NanValueConvert {
// Required methods
fn from_value(val: &Value, arena: &mut Arena) -> NanValue;
fn to_value(self, arena: &Arena) -> Value;
}Expand description
Extension trait providing from_value / to_value conversion between
the runtime Value and NanValue. These methods live here
(rather than on NanValue directly) because NanValue is now defined
in the aver_memory crate.
Required Methods§
fn from_value(val: &Value, arena: &mut Arena) -> NanValue
fn to_value(self, arena: &Arena) -> Value
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".