pub type MessageHandler<Type, Message> = Box<dyn Fn(&mut Box<dyn Actor<Type, Message>>, &mut ActorManager<Type, Message>, &mut Viewport, &mut Context<'_>, &Message)>;Expand description
Handler for a view to deal with actor messages
Aliased Typeยง
pub struct MessageHandler<Type, Message>(/* private fields */);