pub trait FromWasm {
    // Required methods
    fn from_wasm_inner(self, out: &mut FromWasmMsg);
    fn from_wasm_js_body(
        out: &mut WasmJSOutput,
        slot: usize,
        is_recur: bool,
        prop: &str,
        temp: usize
    );

    // Provided methods
    fn type_name() -> &'static str { ... }
    fn live_id() -> LiveId { ... }
    fn write_from_wasm(self, out: &mut FromWasmMsg)
       where Self: Sized { ... }
    fn from_wasm_js_reuse(wrapper: &mut String) { ... }
    fn to_js_code() -> String { ... }
    fn from_wasm_js_inner(wrapper: &mut String, reuse_arg: bool) { ... }
}

Required Methods§

source

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, is_recur: bool, prop: &str, temp: usize )

Provided Methods§

source

fn type_name() -> &'static str

source

fn live_id() -> LiveId

source

fn write_from_wasm(self, out: &mut FromWasmMsg)where Self: Sized,

source

fn from_wasm_js_reuse(wrapper: &mut String)

source

fn to_js_code() -> String

source

fn from_wasm_js_inner(wrapper: &mut String, reuse_arg: bool)

Implementations on Foreign Types§

source§

impl FromWasm for &str

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

impl FromWasm for String

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

impl FromWasm for f64

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

impl<T> FromWasm for Option<T>where T: FromWasm,

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, is_recur: bool, prop: &str, _temp: usize )

source§

impl FromWasm for f32

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

impl<T> FromWasm for Box<T>where T: FromWasm,

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

impl<T, const N: usize> FromWasm for [T; N]where T: FromWasm,

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, is_recur: bool, prop: &str, temp: usize )

source§

impl FromWasm for usize

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

impl<T> FromWasm for Vec<T>where T: FromWasm,

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, temp: usize )

source§

impl FromWasm for bool

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

source§

impl FromWasm for u32

source§

fn from_wasm_js_body( out: &mut WasmJSOutput, slot: usize, _is_recur: bool, prop: &str, _temp: usize )

source§

fn from_wasm_inner(self, out: &mut FromWasmMsg)

Implementors§