Trait appit::Message

source ·
pub trait Message: Send + 'static {
    type Window: Send;
    type Response: Send;
}
Expand description

A message with an associated response type.

Required Associated Types§

source

type Window: Send

The message type that is able to be sent to individual windows.

source

type Response: Send

The type returned when responding to this message.

Implementations on Foreign Types§

source§

impl Message for ()

§

type Response = ()

§

type Window = ()

Implementors§