Trait bevy_event_set::SendEvent[][src]

pub trait SendEvent<T> {
    fn send(&mut self, event: T);
}

Allows an event set to send an event of a given type

Required methods

fn send(&mut self, event: T)[src]

Sends an event to the event buffer

Calls Events.send on the Bevy event buffer of the corresponding type.

Loading content...

Implementors

Loading content...