logo
pub trait Event: 'static + Send + Sync { }
Expand description

A type that can be stored in an Events<E> resource You can conveniently access events using the EventReader and EventWriter system parameter.

Events must be thread-safe.

Implementors