Struct wasm_mt::WasmMt[][src]

pub struct WasmMt { /* fields omitted */ }

Implementations

impl WasmMt[src]

pub fn new(pkg_js_uri: &str) -> Self[src]

pub fn new_with_arraybuffers(ab_js: ArrayBuffer, ab_wasm: ArrayBuffer) -> Self[src]

pub fn set_ab_init(&self, ab: ArrayBuffer)[src]

pub fn set_ab_wasm(&self, ab: ArrayBuffer)[src]

pub async fn init(&self) -> Result<&Self, JsValue>[src]

pub async fn and_init(self) -> Result<Self, JsValue>[src]

pub fn thread(&self) -> Thread[src]

Auto Trait Implementations

impl !RefUnwindSafe for WasmMt

impl !Send for WasmMt

impl !Sync for WasmMt

impl Unpin for WasmMt

impl UnwindSafe for WasmMt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Type for T where
    T: ?Sized
[src]

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.