Trait sp_wasm_interface::IntoValue [−][src]
pub trait IntoValue {
const VALUE_TYPE: ValueType;
fn into_value(self) -> Value;
}Expand description
Something that can be converted into a wasm compatible Value.
Associated Constants
const VALUE_TYPE: ValueType
const VALUE_TYPE: ValueTypeThe type of the value in wasm.
Required methods
fn into_value(self) -> Value
fn into_value(self) -> ValueConvert self into a wasm Value.