Trait sp_wasm_interface::IntoValue [−][src]
pub trait IntoValue {
const VALUE_TYPE: ValueType;
fn into_value(self) -> Value;
}Something that can be converted into a wasm compatible Value.
Associated Constants
const VALUE_TYPE: ValueType[src]
The type of the value in wasm.
Required methods
fn into_value(self) -> Value[src]
Convert self into a wasm Value.
Implementations on Foreign Types
impl IntoValue for u8[src]
impl IntoValue for u8[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
impl IntoValue for u16[src]
impl IntoValue for u16[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
impl IntoValue for u32[src]
impl IntoValue for u32[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
impl IntoValue for u64[src]
impl IntoValue for u64[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
impl IntoValue for i8[src]
impl IntoValue for i8[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
impl IntoValue for i16[src]
impl IntoValue for i16[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
impl IntoValue for i32[src]
impl IntoValue for i32[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
impl IntoValue for i64[src]
impl IntoValue for i64[src]const VALUE_TYPE: ValueType[src]
fn into_value(self) -> Value[src]
Implementors
impl<T: PointerType> IntoValue for Pointer<T>[src]
impl<T: PointerType> IntoValue for Pointer<T>[src]