Trait yew::html::SendAsMessage[][src]

pub trait SendAsMessage<COMP: Component> {
    fn send(self, scope: &Scope<COMP>);
}
Expand description

Defines a message type that can be sent to a component. Used for the return value of closure given to Scope::batch_callback.

Required methods

Sends the message to the given component’s scope. See Scope::batch_callback.

Implementations on Foreign Types

Implementors