[][src]Struct yarte_wasm_app::Addr

pub struct Addr<A: App>(_);

The address of App

Methods

impl<A: App> Addr<A>[src]

pub fn send(&self, msg: A::Message)[src]

Sends a message

The message is always queued

pub unsafe fn hydrate(&self)[src]

Hydrate app Link events and save closures

Safety

Produce unexpected behaviour if launched more than one time

Trait Implementations

impl<A: App> Clone for Addr<A>[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for Addr<A>

impl<A> !Send for Addr<A>

impl<A> !Sync for Addr<A>

impl<A> Unpin for Addr<A>

impl<A> !UnwindSafe for Addr<A>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.