[][src]Trait wasmer_runtime_core::types::NativeWasmType

pub unsafe trait NativeWasmType: Copy + Into<Value> where
    Self: Sized
{ 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 i32[src]

impl NativeWasmType for i64[src]

impl NativeWasmType for f32[src]

impl NativeWasmType for f64[src]

Loading content...

Implementors

Loading content...