[][src]Struct dodrio_js_api::VdomWeak

pub struct VdomWeak { /* fields omitted */ }

A weak handle to a virtual DOM.

This is essentially the same as dodrio::VdomWeak, but exposed to JavaScript.

Methods

impl VdomWeak[src]

pub fn render(&self) -> Promise[src]

Schedule re-rendering of the virtual DOM. A promise is returned that is resolved after the rendering has happened.

Trait Implementations

impl From<VdomWeak> for JsValue[src]

impl Clone for VdomWeak[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for VdomWeak[src]

impl FromWasmAbi for VdomWeak[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for VdomWeak[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl WasmDescribe for VdomWeak[src]

impl OptionFromWasmAbi for VdomWeak[src]

impl OptionIntoWasmAbi for VdomWeak[src]

impl RefFromWasmAbi for VdomWeak[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, VdomWeak>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl RefMutFromWasmAbi for VdomWeak[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, VdomWeak>

Same as RefFromWasmAbi::Anchor

Auto Trait Implementations

impl !Send for VdomWeak

impl !Sync for VdomWeak

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi