[][src]Trait holochain_wasmer_host::prelude::types::NativeWasmType

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

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

Represents a native wasm type.

Associated Constants

pub const TYPE: Type[src]

Type for this NativeWasmType.

Loading content...

Required methods

pub fn from_binary(bits: u64) -> Self[src]

Convert from u64 bites to self.

pub fn to_binary(self) -> u64[src]

Convert self to u64 binary representation.

Loading content...

Implementations on Foreign Types

impl NativeWasmType for f64[src]

impl NativeWasmType for i64[src]

impl NativeWasmType for i32[src]

impl NativeWasmType for f32[src]

Loading content...

Implementors

Loading content...