Trait kludgine::app::Message

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

A message with an associated response type.

Required Associated Types§

type Window: Send

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

type Response: Send

The type returned when responding to this message.

Implementations on Foreign Types§

§

impl Message for ()

§

type Response = ()

§

type Window = ()

Implementors§

source§

impl<User> Message for AppEvent<User>
where User: Send + 'static,

§

type Response = Surface<'static>

§

type Window = User