Struct anymsg::EventLoopMapping [−][src]
pub struct EventLoopMapping { /* fields omitted */ }
Stores information linking message types with the clients that accept them.
Used by the EventLoop
to ensure proper delegation.
Methods
impl EventLoopMapping
[src]
impl EventLoopMapping
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn add_client<'a, C: Any + Send>(
&'a mut self,
client: C
) -> ELHandlerAdder<'a, C>
[src]
pub fn add_client<'a, C: Any + Send>(
&'a mut self,
client: C
) -> ELHandlerAdder<'a, C>
pub fn handle(&mut self, msg: AnyMsg)
[src]
pub fn handle(&mut self, msg: AnyMsg)
Auto Trait Implementations
impl Send for EventLoopMapping
impl Send for EventLoopMapping
impl !Sync for EventLoopMapping
impl !Sync for EventLoopMapping