Trait bevy::ecs::event::Event

pub trait Event: Send + Sync + 'static { }
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§

§

impl Event for HierarchyEventwhere HierarchyEvent: Send + Sync + 'static,

§

impl Event for GamepadEventwhere GamepadEvent: Send + Sync + 'static,

§

impl Event for GamepadRumbleRequestwhere GamepadRumbleRequest: Send + Sync + 'static,

§

impl Event for ApplicationLifetimewhere ApplicationLifetime: Send + Sync + 'static,

§

impl Event for FileDragAndDropwhere FileDragAndDrop: Send + Sync + 'static,

§

impl Event for Imewhere Ime: Send + Sync + 'static,

§

impl Event for ActionRequestwhere ActionRequest: Send + Sync + 'static,

§

impl Event for AppExitwhere AppExit: Send + Sync + 'static,

§

impl Event for GamepadAxisChangedEventwhere GamepadAxisChangedEvent: Send + Sync + 'static,

§

impl Event for GamepadButtonChangedEventwhere GamepadButtonChangedEvent: Send + Sync + 'static,

§

impl Event for GamepadButtonInputwhere GamepadButtonInput: Send + Sync + 'static,

§

impl Event for GamepadConnectionEventwhere GamepadConnectionEvent: Send + Sync + 'static,

§

impl Event for KeyboardInputwhere KeyboardInput: Send + Sync + 'static,

§

impl Event for MouseButtonInputwhere MouseButtonInput: Send + Sync + 'static,

§

impl Event for MouseMotionwhere MouseMotion: Send + Sync + 'static,

§

impl Event for MouseWheelwhere MouseWheel: Send + Sync + 'static,

§

impl Event for TouchInputwhere TouchInput: Send + Sync + 'static,

§

impl Event for TouchpadMagnifywhere TouchpadMagnify: Send + Sync + 'static,

§

impl Event for TouchpadRotatewhere TouchpadRotate: Send + Sync + 'static,

§

impl Event for SceneInstanceReadywhere SceneInstanceReady: Send + Sync + 'static,

§

impl Event for CursorEnteredwhere CursorEntered: Send + Sync + 'static,

§

impl Event for CursorLeftwhere CursorLeft: Send + Sync + 'static,

§

impl Event for CursorMovedwhere CursorMoved: Send + Sync + 'static,

§

impl Event for ReceivedCharacterwhere ReceivedCharacter: Send + Sync + 'static,

§

impl Event for RequestRedrawwhere RequestRedraw: Send + Sync + 'static,

§

impl Event for WindowBackendScaleFactorChangedwhere WindowBackendScaleFactorChanged: Send + Sync + 'static,

§

impl Event for WindowCloseRequestedwhere WindowCloseRequested: Send + Sync + 'static,

§

impl Event for WindowClosedwhere WindowClosed: Send + Sync + 'static,

§

impl Event for WindowCreatedwhere WindowCreated: Send + Sync + 'static,

§

impl Event for WindowDestroyedwhere WindowDestroyed: Send + Sync + 'static,

§

impl Event for WindowFocusedwhere WindowFocused: Send + Sync + 'static,

§

impl Event for WindowMovedwhere WindowMoved: Send + Sync + 'static,

§

impl Event for WindowResizedwhere WindowResized: Send + Sync + 'static,

§

impl Event for WindowScaleFactorChangedwhere WindowScaleFactorChanged: Send + Sync + 'static,

§

impl Event for WindowThemeChangedwhere WindowThemeChanged: Send + Sync + 'static,

§

impl Event for RemovedComponentEntitywhere RemovedComponentEntity: Send + Sync + 'static,

§

impl<A> Event for AssetEvent<A>where A: Asset, AssetEvent<A>: Send + Sync + 'static,