pub trait IntoValue {
const VALUE_TYPE: ValueType;
// Required method
fn into_value(self) -> Value;
}
Expand description
Something that can be converted into a wasm compatible Value
.
Required Associated Constants§
sourceconst VALUE_TYPE: ValueType
const VALUE_TYPE: ValueType
The type of the value in wasm.
Required Methods§
sourcefn into_value(self) -> Value
fn into_value(self) -> Value
Convert self
into a wasm Value
.
Object Safety§
This trait is not object safe.