Trait IntoHostValue
pub trait IntoHostValue {
// Required methods
fn into_host_value(self) -> Value;
fn host_type() -> HostType;
}Expand description
Converts a host closure’s return value into a Value.
Required Methods§
fn into_host_value(self) -> Value
fn host_type() -> HostType
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.