[][src]Trait wasmer_runtime::types::NativeWasmType

pub unsafe trait NativeWasmType: Into<Value> + Copy {
    const TYPE: Type;

    fn from_binary(bits: u64) -> Self;
fn to_binary(self) -> u64; }

Represents a native wasm type.

Associated Constants

const TYPE: Type

Type for this NativeWasmType.

Loading content...

Required methods

fn from_binary(bits: u64) -> Self

Convert from u64 bites to self.

fn to_binary(self) -> u64

Convert self to u64 binary representation.

Loading content...

Implementations on Foreign Types

impl NativeWasmType for f32[src]

impl NativeWasmType for i64[src]

impl NativeWasmType for f64[src]

impl NativeWasmType for i32[src]

Loading content...

Implementors

Loading content...