Trait legion::world::EventSender[][src]

pub trait EventSender: Send + Sync {
    fn send(&self, event: Event) -> bool;
}

Describes a type which can send entity events.

Required methods

fn send(&self, event: Event) -> bool[src]

Sends the given event to all listeners. Returns true if the sender is still alive.

Loading content...

Implementations on Foreign Types

impl EventSender for Sender<Event>[src]

Loading content...

Implementors

Loading content...