pub fn emit_to<M: Message>(&mut self, target: Entity, message: M) {
        self.event_queue.push_back(
            Event::new(message).target(target).origin(self.current).propagate(Propagation::Direct),
        );
    }
/// Send an event containing a message directly to a specified entity.
Send an event containing a message directly to a specified entity.
Send an event containing a message directly to a specified entity .
pub fn emit_to<M: Message>(&mut self, target: Entity, message: M) {
        self.event_queue.push_back(
            Event::new(message).target(target).origin(self.current).propagate(Propagation::Direct),
        );
    }
pub fn emit_to < M : Message > ( & mut self , target : Entity , message : M ) { self . event_queue . push_back ( Event :: new ( message ) . target ( target ) . origin ( self . current ) . propagate ( Propagation :: Direct ) , ) ; }
Send an event containing a message directly to a specified entity.
Send an event containing a message directly to a specified entity .
&mut self
target
Entity
message
M